Skip to content

Commit

Permalink
debug verbose test gh runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Dec 17, 2023
1 parent 4e9b508 commit dfa8bed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_verbose.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ def test_VERBOSE(self):
with io.StringIO() as buf, redirect_stdout(buf):
VERBOSE(help)
output = buf.getvalue()
import re
output = re.sub(r'\x1b\[[0-9;]*m', '', output)
print (output)

assert "help" in output
assert "hallo" in output
Expand All @@ -64,6 +61,10 @@ def test_not_VERBOSE(self):
with io.StringIO() as buf, redirect_stdout(buf):
VERBOSE(help)
output = buf.getvalue()

import re
output = re.sub(r'\x1b\[[0-9;]*m', '', output)

print (output)
variables["verbose"] = 10

Expand Down

0 comments on commit dfa8bed

Please sign in to comment.