diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2013-11-15 10:03:46 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2013-11-15 10:03:46 (GMT) |
commit | de65c3b4f23aed609641b0347627925f99d5e0aa (patch) | |
tree | f0435e18d9335c1879d952ff23968154eb5e4516 /tests | |
parent | 5969d5ce66c06885fea36e53e00ea25a15097be7 (diff) |
Fix processing node stats
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/units/node/node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/node/node.py b/tests/units/node/node.py index b989ef1..586fbd6 100755 --- a/tests/units/node/node.py +++ b/tests/units/node/node.py @@ -124,7 +124,7 @@ class NodeTest(tests.Test): (ts + 3, {'total': 3.0}), ], }, - cp.stats(ts, ts + 3, 4, ['user.total'])) + call(cp, method='GET', cmd='stats', source='user.total', start=ts, end=ts + 3, records=4)) self.assertEqual({ 'user': [ @@ -134,7 +134,7 @@ class NodeTest(tests.Test): (ts + 12, {'total': 11.0}), ], }, - cp.stats(ts, ts + 12, 4, ['user.total'])) + call(cp, method='GET', cmd='stats', source='user.total', start=ts, end=ts + 12, records=4)) def test_HandleDeletes(self): volume = db.Volume('db', model.RESOURCES) |