aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-9af43c04be4bb3df805b07e42e04e4a5e70453d8.tar.gz
gnunet-9af43c04be4bb3df805b07e42e04e4a5e70453d8.zip
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):
86 self.type = 'statistics' 86 self.type = 'statistics'
87 self.peer = peer; 87 self.peer = peer;
88 self.subsystem = subsystem; 88 self.subsystem = subsystem;
89 self.name = value; 89 self.name = name;
90 self.value = value;
90 def check(self): 91 def check(self):
91 if (self.fulfilled == False): 92 if (self.fulfilled == False):
92 res = self.peer.check (subsystem, name, value); 93 res = self.peer.check (self.subsystem, self.name, self.value);
93 if (res == True): 94 if (res == True):
94 self.fulfilled = True 95 self.fulfilled = True
95 return True 96 return True