Commit 9ba28903 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][stats] Code cleanup

parent 17bf3313
......@@ -41,8 +41,8 @@ from ..stats import Statistics
def test_prototype():
obj = Statistics() # creates from prototype
assert "cpu" in obj._data
assert "memory" in obj._data
assert "data" in obj._data
assert "files" in obj.data
nose.tools.assert_true("cpu" in obj._data)
nose.tools.assert_true("memory" in obj._data)
nose.tools.assert_true("data" in obj._data)
nose.tools.assert_true("files" in obj.data)
nose.tools.eq_(len(obj.data["files"]), 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment