Browse Source

🔥 Remove duplicated code (#1185)

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
f11bec6aa6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      backend/app/tests/api/routes/test_users.py

4
backend/app/tests/api/routes/test_users.py

@ -463,10 +463,6 @@ def test_delete_user_super_user(
result = db.exec(select(User).where(User.id == user_id)).first()
assert result is None
user_query = select(User).where(User.id == user_id)
user_db = db.execute(user_query).first()
assert user_db is None
def test_delete_user_not_found(
client: TestClient, superuser_token_headers: dict[str, str]

Loading…
Cancel
Save