mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-29 22:11:52 -05:00
fix tests
This commit is contained in:
@@ -105,7 +105,6 @@ def test_get_provider_versions_contains_correct_fields(client, notify_db_session
|
||||
"created_by",
|
||||
"display_name",
|
||||
"identifier",
|
||||
"priority",
|
||||
"notification_type",
|
||||
"active",
|
||||
"version",
|
||||
|
||||
@@ -80,12 +80,8 @@ def _notify_db(notify_api):
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
def sms_providers(_notify_db):
|
||||
"""
|
||||
In production we randomly choose which provider to use based on their priority. To guarantee tests run the same each
|
||||
time, make sure we always choose sns. You'll need to override them in your tests if you wish to do something
|
||||
different.
|
||||
"""
|
||||
get_provider_details_by_identifier("sns").priority = 100
|
||||
pass
|
||||
# get_provider_details_by_identifier("sns").priority = 100
|
||||
|
||||
|
||||
@pytest.fixture(scope="function")
|
||||
|
||||
Reference in New Issue
Block a user