Skip to content

Commit

Permalink
fix tag
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Apr 4, 2023
1 parent 57d0d4d commit 1a1ee73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration_tests/tags/dao_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ def create_tagged_objects(self):
tag_id=tag.id,
)
)

yield tagged_objects

for tag in tags:
db.session.delete(tag)
db.session.commit()
db.session.add(tag)
for tagged_obj in tagged_objects:
db.session.delete(tagged_obj)
db.session.commit()
db.session.add(tagged_obj)
db.session.commit()

@pytest.mark.usefixtures("load_world_bank_dashboard_with_slices")
Expand Down

0 comments on commit 1a1ee73

Please sign in to comment.