Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5271 from ynput/enhancement/OP-4770_updating_test…
Browse files Browse the repository at this point in the history
…ing_args

Testing: improving logging during testing
  • Loading branch information
jakubjezek001 authored Jul 11, 2023
2 parents 2175874 + 5ebdedd commit ab56b9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion openpype/pype_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,14 @@ def run_tests(self, folder, mark, pyargs,
folder = "../tests"

# disable warnings and show captured stdout even if success
args = ["--disable-pytest-warnings", "-rP", folder]
args = [
"--disable-pytest-warnings",
"--capture=sys",
"--print",
"-W ignore::DeprecationWarning",
"-rP",
folder
]

if mark:
args.extend(["-m", mark])
Expand Down

0 comments on commit ab56b9a

Please sign in to comment.