mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-08-11 00:30:12 -04:00
test(pytest): silence upstream starlette httpx2 deprecation noise
This commit is contained in:
parent
b6fa77a649
commit
6379ed9ab3
1 changed files with 6 additions and 0 deletions
|
|
@ -8,6 +8,12 @@ filterwarnings =
|
|||
# Filter warnings from async mocks - coroutines created by mocks that are
|
||||
# intentionally not awaited (expected behavior in unit tests)
|
||||
ignore:coroutine.*was never awaited:RuntimeWarning
|
||||
# Starlette ≥ 1.1 fires its own StarletteDeprecationWarning at import
|
||||
# time of starlette.testclient asking us to migrate to ``httpx2``.
|
||||
# Upstream-internal migration; nothing actionable in Bambuddy and a
|
||||
# full move to httpx2 is its own change. Match by message text so the
|
||||
# filter holds regardless of which warning class starlette uses.
|
||||
ignore:Using .httpx. with .starlette.testclient. is deprecated
|
||||
markers =
|
||||
unit: Unit tests (fast, no external deps)
|
||||
integration: Integration tests (slower, test full API)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue