Skip to content

Commit 8291e7e

Browse files
committed
reverse capture_output change
1 parent 4aadc52 commit 8291e7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def assert_log_msgs(self):
6868
def warnet(self, cmd):
6969
self.log.debug(f"Executing warnet command: {cmd}")
7070
command = ["warnet"] + cmd.split()
71-
capture_output = "--debug" not in cmd
72-
proc = run(command, capture_output=capture_output)
71+
proc = run(command, capture_output=True)
7372
if proc.stderr:
7473
raise Exception(proc.stderr.decode().strip())
7574
return proc.stdout.decode().strip() if proc.stdout else ""

0 commit comments

Comments
 (0)