mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-04 04:45:10 +02:00
TestShell: Return self from setup()
This allows user to chain setup() to the initializer. test-shell.md code examples have been updated to reflect this.
This commit is contained in:
@@ -42,6 +42,7 @@ class TestShell:
|
||||
|
||||
super().setup()
|
||||
self.running = True
|
||||
return self
|
||||
|
||||
def shutdown(self):
|
||||
if not self.running:
|
||||
|
||||
Reference in New Issue
Block a user