Clean up more mmg and firetext references

This commit is contained in:
Ryan Ahearn
2022-12-19 10:48:53 -05:00
parent 6a04be0370
commit 041cd08097
17 changed files with 106 additions and 128 deletions

View File

@@ -102,11 +102,10 @@ def _notify_db(notify_api, worker_id):
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 mmg. You'll need to override them in your tests if you wish to do something
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('mmg').priority = 100
get_provider_details_by_identifier('firetext').priority = 0
get_provider_details_by_identifier('sns').priority = 100
@pytest.fixture(scope='function')