diff options
-rw-r--r-- | src/integration-tests/gnunet_testing.py.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/integration-tests/gnunet_testing.py.in b/src/integration-tests/gnunet_testing.py.in index 18fc7a249..404d5db4e 100644 --- a/src/integration-tests/gnunet_testing.py.in +++ b/src/integration-tests/gnunet_testing.py.in | |||
@@ -56,6 +56,12 @@ class Peer: | |||
56 | self.test = test | 56 | self.test = test |
57 | self.started = False | 57 | self.started = False |
58 | self.cfg = cfg_file | 58 | self.cfg = cfg_file |
59 | def __del__(self): | ||
60 | if (self.started == True): | ||
61 | print 'ERROR! Peer using cfg ' + self.cfg + ' was not stopped' | ||
62 | self.started == False | ||
63 | if (False == self.stop ()): | ||
64 | print 'ERROR! Peer using cfg ' + self.cfg + ' could not be stopped' | ||
59 | def start (self): | 65 | def start (self): |
60 | self.test.p ("Starting peer using cfg " + self.cfg) | 66 | self.test.p ("Starting peer using cfg " + self.cfg) |
61 | try: | 67 | try: |