Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_get_invalid_second_header_users (0.15 sec)

  1. tests/test_tutorial/test_dependencies/test_tutorial012.py

        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    def test_get_invalid_second_header_users(client: TestClient):
        response = client.get(
            "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top