Skip to content

Commit 93ce87e

Browse files
jirhikerCopilot
andauthored
Update tests/test_well_inventory.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2d5ab53 commit 93ce87e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_well_inventory.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -458,14 +458,14 @@ def test_well_inventory_db_contents():
458458
assert participant.participant.name == file_content["field_staff_2"]
459459

460460
# CLEAN UP THE DATABASE AFTER TESTING
461-
session.query(Thing).delete()
462-
session.query(ThingContactAssociation).delete()
463-
session.query(Contact).delete()
464-
session.query(LocationThingAssociation).delete()
465-
session.query(Location).delete()
466461
session.query(FieldEventParticipant).delete()
467462
session.query(FieldActivity).delete()
468463
session.query(FieldEvent).delete()
464+
session.query(ThingContactAssociation).delete()
465+
session.query(LocationThingAssociation).delete()
466+
session.query(Contact).delete()
467+
session.query(Location).delete()
468+
session.query(Thing).delete()
469469
session.commit()
470470

471471

0 commit comments

Comments
 (0)