Skip to content

Commit

Permalink
refactor: removing deletion of opsevent table from test db unload
Browse files Browse the repository at this point in the history
  • Loading branch information
rajohnson90 committed Jan 9, 2025
1 parent cd6b164 commit 1f3dc80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/ops_api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
CANFundingDetails,
ChangeRequestStatus,
OpsDBHistory,
OpsEvent,
Project,
User,
Vendor,
Expand Down Expand Up @@ -185,7 +184,6 @@ def loaded_db(app: Flask, app_ctx: None, auth_client: FlaskClient) -> Session:
session.rollback()

session.execute(delete(OpsDBHistory))
session.execute(delete(OpsEvent))

session.commit()
session.close()
Expand Down

0 comments on commit 1f3dc80

Please sign in to comment.