diff options
Diffstat (limited to 'test/functional/test_framework/test_shell.py')
-rw-r--r-- | test/functional/test_framework/test_shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/test_framework/test_shell.py b/test/functional/test_framework/test_shell.py index 79da35b364..26df128f1f 100644 --- a/test/functional/test_framework/test_shell.py +++ b/test/functional/test_framework/test_shell.py @@ -29,8 +29,7 @@ class TestShell: # Num_nodes parameter must be set # by BitcoinTestFramework child class. - self.num_nodes = kwargs.get('num_nodes', 1) - kwargs.pop('num_nodes', None) + self.num_nodes = 1 # User parameters override default values. for key, value in kwargs.items(): @@ -43,6 +42,7 @@ class TestShell: super().setup() self.running = True + return self def shutdown(self): if not self.running: @@ -53,7 +53,7 @@ class TestShell: def reset(self): if self.running: - print("Shutdown TestWrapper before resetting!") + print("Shutdown TestShell before resetting!") else: self.num_nodes = None super().__init__() |