mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 18:31:13 -05:00
Use real letter_rates in tests
Added the letter_rate table to the list of tables which does not get deleted after each test run and changed the tests to use the real letter rates. Also removed the letter rate DAO since this was only being used in tests, so was no longer needed.
This commit is contained in:
@@ -105,7 +105,8 @@ def notify_db_session(notify_db):
|
||||
"notification_status_types",
|
||||
"service_permission_types",
|
||||
"auth_type",
|
||||
"invite_status_type"]:
|
||||
"invite_status_type",
|
||||
"letter_rates"]:
|
||||
notify_db.engine.execute(tbl.delete())
|
||||
notify_db.session.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user