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:
1 parent
a8dea45524
commit
2493770e36
2 files changed
+3
-4
No files matched your search
@@ -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