Skip to content

Commit

Permalink
Changed conftest.py to close the database before deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholsons committed Feb 13, 2024
1 parent c21dd15 commit ce81280
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def app():
# database)
with app.app_context():
# Close the database session
db.session.close()
db.session.remove()
db.engine.dispose()
os.unlink(db_path)
Expand Down

0 comments on commit ce81280

Please sign in to comment.