|
|
@ -1,10 +1,13 @@ |
|
|
import pytest |
|
|
import pytest |
|
|
from fastapi.testclient import TestClient |
|
|
from fastapi.testclient import TestClient |
|
|
|
|
|
|
|
|
from tests.utils import needs_pydanticv2 |
|
|
from tests.utils import needs_pydanticv2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture |
|
|
@pytest.fixture |
|
|
def client(): |
|
|
def client(): |
|
|
from docs_src.query_params_str_validations.tutorial006d_an_py310 import app |
|
|
from docs_src.query_params_str_validations.tutorial006d_an_py310 import app |
|
|
|
|
|
|
|
|
yield TestClient(app) |
|
|
yield TestClient(app) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|