Skip to content

Commit

Permalink
--no-print-logs is deprecated, replace with --show-capture
Browse files Browse the repository at this point in the history
https://happytest.readthedocs.io/en/apidoc/changelog/

In this PR pytest-dev/pytest#3238
The parameter --no-print-logs is deprecated and meant to be removed in
a future release.
If you use --no-print-logs, please try out --show-capture and provide feedback.

So, changing this option to --show-capture=no

Signed-off-by: Petr Balogh <pbalogh@redhat.com>
  • Loading branch information
petr-balogh committed Feb 21, 2022
1 parent 452b55b commit 5fd10d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest.ini
Expand Up @@ -59,7 +59,7 @@ log_format = %(asctime)s - %(threadName)s - %(name)s - %(levelname)s - %(message
log_cli=true
log_cli_level = INFO
log_level = DEBUG
addopts = --ignore=ocs_ci --no-print-logs
addopts = --ignore=ocs_ci --show-capture=no
testpaths = tests
# Pin junit_family to xunit 1.0
junit_family = xunit1

0 comments on commit 5fd10d5

Please sign in to comment.