Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_file_form_order (0.06 sec)

  1. tests/test_file_and_form_order_issue_9116.py

    @pytest.fixture
    def tmp_file_2(tmp_path: Path) -> Path:
        f = tmp_path / "example2.txt"
        f.write_text("bar")
        return f
    
    
    @pytest.mark.parametrize("endpoint_path", ("/file_before_form", "/file_after_form"))
    def test_file_form_order(endpoint_path: str, tmp_file_1: Path):
        response = client.post(
            url=endpoint_path,
            data={"city": "Thimphou"},
            files={"file": (tmp_file_1.name, tmp_file_1.read_bytes())},
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top