mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
fix tests
This commit is contained in:
@@ -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