Skip to content

Commit c0c0e33

Browse files
committed
misc(tests): add recordings for responses tests
1 parent 557b1b8 commit c0c0e33

File tree

33 files changed

+49747
-0
lines changed

33 files changed

+49747
-0
lines changed

tests/integration/conftest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# the root directory of this source tree.
66
import inspect
77
import itertools
8+
import logging # allow-direct-logging
89
import os
910
import tempfile
1011
import textwrap
@@ -57,6 +58,12 @@ def pytest_sessionstart(session):
5758
patch_httpx_for_test_id()
5859

5960

61+
@pytest.fixture(autouse=True)
62+
def suppress_httpx_logs(caplog):
63+
"""Suppress httpx INFO logs for all integration tests"""
64+
caplog.set_level(logging.WARNING, logger="httpx")
65+
66+
6067
@pytest.fixture(autouse=True)
6168
def _track_test_context(request):
6269
"""Automatically track current test context for isolated recordings.

0 commit comments

Comments
 (0)