- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_dependency_no_exception (0.12 sec)
-
tests/test_dependency_normal_exceptions.py
assert response.json() == {"detail": "Invalid user"} assert state["except"] is True assert state["finally"] is True assert fake_database["rick"] == "Rick Sanchez" def test_dependency_no_exception(): assert state["except"] is False assert state["finally"] is False response = client.put("/user/rick", json="Morty") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.9K bytes - Viewed (0)