- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Dost (0.17 sec)
-
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
@needs_py39 def test_admin(client: TestClient): response = client.post( "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200, response.text assert response.json() == {"message": "Admin getting schwifty"} @needs_py39 def test_admin_invalid_header(client: TestClient): response = client.post("/admin/", headers={"X-Token": "invalid"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 24.9K bytes - Viewed (0)