- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testis (0.15 sec)
-
tests/test_application.py
("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 52.2K bytes - Viewed (0) -
tests/test_generate_unique_id_function.py
return f"baz_{route.name}" class Item(BaseModel): name: str price: float class Message(BaseModel): title: str description: str def test_top_level_generate_unique_id(): app = FastAPI(generate_unique_id_function=custom_generate_unique_id) router = APIRouter() @app.post("/", response_model=List[Item], responses={404: {"model": List[Message]}})
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 15:10:26 GMT 2024 - 66.7K bytes - Viewed (0) -
configure.py
else: test_and_build_filters.append('-gpu') # Disable tests with "v1only" tag in "v2" Bazel config, but not in "v1" config write_to_bazelrc('test:v1 --test_tag_filters=%s' % ','.join(test_and_build_filters + test_only_filters)) write_to_bazelrc('test:v1 --build_tag_filters=%s' % ','.join(test_and_build_filters)) write_to_bazelrc(
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1)