Skip to content

Commit

Permalink
(BSR)[API] chore: Use clean_database instead of pytest-flask-sqalch…
Browse files Browse the repository at this point in the history
…emy `db_session` fixture
  • Loading branch information
dramelet-pass committed Nov 6, 2024
1 parent ee2cfcc commit 7a2a028
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ def cloud_task_client_fixture():
yield cloud_task_client_mock


@pytest.fixture(name="db_session")
def db_session():
yield
clean_all_database()


class TestClient:
WITH_DOC = False

Expand Down

0 comments on commit 7a2a028

Please sign in to comment.