We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2a1794 commit fe79818Copy full SHA for fe79818
backend/app/tests/conftest.py
@@ -96,21 +96,6 @@ def seed_db():
96
seed_test_data(session)
97
yield
98
99
-@pytest.fixture
100
-def clear_database():
101
- """Clear key config tables before and after each test."""
102
- with Session(test_engine) as session:
103
- session.exec(delete(BanList))
104
- session.exec(delete(ValidatorConfig))
105
- session.commit()
106
-
107
- yield
108
109
110
111
112
113
114
@pytest.fixture(scope="function")
115
def client():
116
with TestClient(app) as c:
0 commit comments