We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aadc52 commit 8291e7eCopy full SHA for 8291e7e
test/test_base.py
@@ -68,8 +68,7 @@ def assert_log_msgs(self):
68
def warnet(self, cmd):
69
self.log.debug(f"Executing warnet command: {cmd}")
70
command = ["warnet"] + cmd.split()
71
- capture_output = "--debug" not in cmd
72
- proc = run(command, capture_output=capture_output)
+ proc = run(command, capture_output=True)
73
if proc.stderr:
74
raise Exception(proc.stderr.decode().strip())
75
return proc.stdout.decode().strip() if proc.stdout else ""
0 commit comments