summaryrefslogtreecommitdiff
path: root/src/integration-tests/gnunet_testing.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r--src/integration-tests/gnunet_testing.py.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in
index dccaf43eb..be288ff44 100644
--- a/src/integration-tests/gnunet_testing.py.in
+++ b/src/integration-tests/gnunet_testing.py.in
@@ -86,10 +86,11 @@ class StatisticsCondition (Condition):
self.type = 'statistics'
self.peer = peer;
self.subsystem = subsystem;
- self.name = value;
+ self.name = name;
+ self.value = value;
def check(self):
if (self.fulfilled == False):
- res = self.peer.check (subsystem, name, value);
+ res = self.peer.check (self.subsystem, self.name, self.value);
if (res == True):
self.fulfilled = True
return True