Browse Source

🧪 Simplify test

pull/14419/head
Sebastián Ramírez 8 months ago
parent
commit
c01f9e58f3
  1. 4
      tests/test_security_scopes.py

4
tests/test_security_scopes.py

@ -42,6 +42,4 @@ def test_security_scopes_dependency_called_once(
response = client.get("/") response = client.get("/")
assert response.status_code == 200 assert response.status_code == 200
assert call_counter["count"] == 1, ( assert call_counter["count"] == 1
f"get_db called {call_counter['count']}x (expected: 1)"
)

Loading…
Cancel
Save