- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tmp_file_2 (0.24 sec)
-
tests/test_file_and_form_order_issue_9116.py
) def test_file_list_form_order(endpoint_path: str, tmp_file_1: Path, tmp_file_2: Path): response = client.post( url=endpoint_path, data={"city": "Thimphou"}, files=( ("files", (tmp_file_1.name, tmp_file_1.read_bytes())), ("files", (tmp_file_2.name, tmp_file_2.read_bytes())), ), ) assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
tests/test_tutorial/test_generate_clients/test_tutorial004.py
def test_remove_tags(tmp_path: pathlib.Path): tmp_file = tmp_path / "openapi.json" openapi_json = tutorial003_py39.app.openapi() tmp_file.write_text(json.dumps(openapi_json)) with patch("pathlib.Path", return_value=tmp_file): importlib.import_module("docs_src.generate_clients.tutorial004_py39") modified_openapi = json.loads(tmp_file.read_text()) assert modified_openapi == { "components": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 8.3K bytes - Viewed (0)