Skip to content

Commit

Permalink
Print plugin output on no match
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 13, 2024
1 parent fc4b2d1 commit af006f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_bar_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def _plugin_output_checks(self, checklist, extra_env=None):
# Check all required regex did match at least once.
for index, (regex, required) in enumerate(checks):
if required and not match_counter[index]:
print(process.stdout)
msg = f"{regex!r} regex did not match any plugin output line."
raise Exception(msg)

Expand Down

0 comments on commit af006f0

Please sign in to comment.