aboutsummaryrefslogtreecommitdiff
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.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in
index cbafb0e31..79cbfe9a2 100644
--- a/src/integration-tests/gnunet_testing.py.in
+++ b/src/integration-tests/gnunet_testing.py.in
@@ -135,9 +135,9 @@ class StatisticsCondition (Condition):
135 fail = "" 135 fail = ""
136 op = " == " 136 op = " == "
137 if ((self.fulfilled == False) and (failed_only == True)): 137 if ((self.fulfilled == False) and (failed_only == True)):
138 print self.peer.cfg + " " + str(self.type) + ' condition in subsystem "' + self.subsystem.ljust(12) +'" : "' + self.name.ljust(30) +'" : (expected/real value) ' + str(self.value) + op + res + fail 138 print self.peer.id[:4] + " " +self.peer.cfg + " " + str(self.type) + ' condition in subsystem "' + self.subsystem.ljust(12) +'" : "' + self.name.ljust(30) +'" : (expected/real value) ' + str(self.value) + op + res + fail
139 elif (failed_only == False): 139 elif (failed_only == False):
140 print self.peer.cfg + " " + str(self.type) + ' condition in subsystem "' + self.subsystem.ljust(12) +'" : "' + self.name.ljust(30) +'" : (expected/real value) ' + str(self.value) + op + res + fail 140 print self.peer.id[:4] + " " +self.peer.cfg + " " + str(self.type) + ' condition in subsystem "' + self.subsystem.ljust(12) +'" : "' + self.name.ljust(30) +'" : (expected/real value) ' + str(self.value) + op + res + fail
141 return self.fulfilled 141 return self.fulfilled
142 142
143class Test: 143class Test:
@@ -173,7 +173,7 @@ class Peer:
173 def __init__(self, test, cfg_file): 173 def __init__(self, test, cfg_file):
174 if (False == os.path.isfile(cfg_file)): 174 if (False == os.path.isfile(cfg_file)):
175 print ("Peer cfg " + cfg_file + ": FILE NOT FOUND") 175 print ("Peer cfg " + cfg_file + ": FILE NOT FOUND")
176 self.id = "" 176 self.id = "<NaN>"
177 self.test = test 177 self.test = test
178 self.started = False 178 self.started = False
179 self.cfg = cfg_file 179 self.cfg = cfg_file