Browse Source

🔇 Add warning ignore for Strawberry

pull/14569/head
Sebastián Ramírez 7 months ago
parent
commit
d15b0f6946
  1. 10
      tests/test_tutorial/test_graphql/test_tutorial001.py

10
tests/test_tutorial/test_graphql/test_tutorial001.py

@ -1,7 +1,15 @@
import warnings
import pytest import pytest
from starlette.testclient import TestClient from starlette.testclient import TestClient
from docs_src.graphql_.tutorial001_py39 import app warnings.filterwarnings(
"ignore",
message=r"The 'lia' package has been renamed to 'cross_web'\..*",
category=DeprecationWarning,
)
from docs_src.graphql_.tutorial001_py39 import app # noqa: E402
@pytest.fixture(name="client") @pytest.fixture(name="client")

Loading…
Cancel
Save