|
|
|
@ -5,16 +5,16 @@ from dirty_equals import IsDict |
|
|
|
from fastapi.testclient import TestClient |
|
|
|
from inline_snapshot import snapshot |
|
|
|
|
|
|
|
from tests.utils import needs_py310, needs_pydanticv2 |
|
|
|
from tests.utils import needs_py310 |
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture( |
|
|
|
name="client", |
|
|
|
params=[ |
|
|
|
pytest.param("tutorial002_py39", marks=needs_pydanticv2), |
|
|
|
pytest.param("tutorial002_py310", marks=[needs_py310, needs_pydanticv2]), |
|
|
|
pytest.param("tutorial002_an_py39", marks=needs_pydanticv2), |
|
|
|
pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), |
|
|
|
pytest.param("tutorial002_py39"), |
|
|
|
pytest.param("tutorial002_py310", marks=[needs_py310]), |
|
|
|
pytest.param("tutorial002_an_py39"), |
|
|
|
pytest.param("tutorial002_an_py310", marks=[needs_py310]), |
|
|
|
], |
|
|
|
) |
|
|
|
def get_client(request: pytest.FixtureRequest): |
|
|
|
|