diff options
author | ng0 <ng0@n0.is> | 2019-02-16 17:47:44 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-16 17:47:44 +0000 |
commit | d6bc987837d1c91653b0b775ace276eb9752c0a8 (patch) | |
tree | a150ec11f370344b28466a231f69659dd62a2ce2 /src/integration-tests/gnunet_testing.py.in | |
parent | 795f98a989cc349cc9e60c330eaf02bf69cb936b (diff) | |
download | gnunet-d6bc987837d1c91653b0b775ace276eb9752c0a8.tar.gz gnunet-d6bc987837d1c91653b0b775ace276eb9752c0a8.zip |
more logging
Diffstat (limited to 'src/integration-tests/gnunet_testing.py.in')
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index cbc3e5a45..18e90e426 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in | |||
@@ -196,20 +196,21 @@ class StatisticsCondition(Condition): | |||
196 | fail = b"" | 196 | fail = b"" |
197 | op = b" == " | 197 | op = b" == " |
198 | if (((self.fulfilled == False) and (failed_only == True)) or (failed_only == False)): | 198 | if (((self.fulfilled == False) and (failed_only == True)) or (failed_only == False)): |
199 | print(self.peer.id[:4] + | 199 | # print(self.peer.id[:4] + |
200 | b" " + | 200 | # b" " + |
201 | self.peer.cfg.encode('utf-8') + | 201 | # self.peer.cfg.encode('utf-8') + |
202 | b" " + | 202 | # b" " + |
203 | str(self.type).encode('utf-8') + | 203 | # str(self.type).encode('utf-8') + |
204 | b' condition in subsystem "' + | 204 | # b' condition in subsystem "' + |
205 | self.subsystem.encode('utf-8').ljust(12) + | 205 | # self.subsystem.encode('utf-8').ljust(12) + |
206 | b'" : "' + | 206 | # b'" : "' + |
207 | self.name.encode('utf-8').ljust(30) + | 207 | # self.name.encode('utf-8').ljust(30) + |
208 | b'" : (expected/real value) ' + | 208 | # b'" : (expected/real value) ' + |
209 | str(self.value).encode('utf-8') + | 209 | # str(self.value).encode('utf-8') + |
210 | op + | 210 | # op + |
211 | res + | 211 | # res + |
212 | fail) | 212 | # fail) |
213 | logger.debug('%s %s %s condition in subsystem %s : %s : (expected/real value) %s %s %s %s', self.peer.id[:4], self.peer.cfg.encode('utf-8'), str(self.type).encode('utf-8'), self.subsystem.encode('utf-8').ljust(12), self.name.encode('utf-8').ljust(30), str(self.value).encode('utf-8'), op, res, fail) | ||
213 | return self.fulfilled | 214 | return self.fulfilled |
214 | 215 | ||
215 | 216 | ||