summaryrefslogtreecommitdiff
path: root/src/integration-tests/gnunet_testing.py.in
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2011-12-15 15:56:05 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2011-12-15 15:56:05 +0000
commit9af43c04be4bb3df805b07e42e04e4a5e70453d8 (patch)
tree5926644aed92f25d9b8e172b3abb6b9d9bc2d05a /src/integration-tests/gnunet_testing.py.in
parentecc60a21d15be5359d05e5c113183e981d1e1715 (diff)
improved test framework
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