Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/node/node.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/node/node.py')
-rwxr-xr-xtests/units/node/node.py4
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)