|
|
@ -3,7 +3,7 @@ import importlib |
|
|
import pytest |
|
|
import pytest |
|
|
from fastapi.testclient import TestClient |
|
|
from fastapi.testclient import TestClient |
|
|
|
|
|
|
|
|
from ...utils import needs_py39, needs_pydanticv2 |
|
|
from ...utils import needs_pydanticv2 |
|
|
|
|
|
|
|
|
skip_for_pydantic_v1 = needs_pydanticv2 |
|
|
skip_for_pydantic_v1 = needs_pydanticv2 |
|
|
|
|
|
|
|
|
@ -12,7 +12,7 @@ skip_for_pydantic_v1 = needs_pydanticv2 |
|
|
name="client", |
|
|
name="client", |
|
|
params=[ |
|
|
params=[ |
|
|
pytest.param("tutorial006_py39"), |
|
|
pytest.param("tutorial006_py39"), |
|
|
pytest.param("tutorial006_an_py39", marks=needs_py39), |
|
|
pytest.param("tutorial006_an_py39"), |
|
|
], |
|
|
], |
|
|
) |
|
|
) |
|
|
def get_client(request: pytest.FixtureRequest): |
|
|
def get_client(request: pytest.FixtureRequest): |
|
|
|