From 9af43c04be4bb3df805b07e42e04e4a5e70453d8 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 15 Dec 2011 15:56:05 +0000 Subject: improved test framework --- src/integration-tests/gnunet_testing.py.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/integration-tests/gnunet_testing.py.in') 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 -- cgit v1.2.3