We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d469a5 commit 61d611fCopy full SHA for 61d611f
template/tests/unit/conftest.py.jinja
@@ -11,6 +11,7 @@ logger = logging.getLogger(__name__)
11
def pytest_configure(
12
config: pytest.Config, # noqa: ARG001 # the config argument MUST be present (even when unused) or pytest throws an error
13
):
14
+ """Configuration for pytest itself, such as logging levels."""{% endraw %}{% if configure_vcrpy %}{% raw %}
15
# force the vcr.cassette logger to WARNING+ because otherwise the logs get super noisy with the playback of all the cassettes
16
vcr_logger = logging.getLogger("vcr.cassette")
- vcr_logger.setLevel(logging.WARNING){% endraw %}
17
+ vcr_logger.setLevel(logging.WARNING){% endraw %}{% endif %}{% raw %}{% endraw %}
0 commit comments