mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Make update notification status transcational.
Refactor methods for reusability.
This commit is contained in:
@@ -40,8 +40,6 @@ def notify_db(notify_api, request):
|
||||
def teardown():
|
||||
db.session.remove()
|
||||
db.drop_all()
|
||||
db.engine.execute("drop type notify_status_types")
|
||||
db.engine.execute("drop table alembic_version")
|
||||
db.get_engine(notify_api).dispose()
|
||||
|
||||
request.addfinalizer(teardown)
|
||||
|
||||
Reference in New Issue
Block a user