mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Moved mmg_url to configs.
Fix up the tests
This commit is contained in:
@@ -551,18 +551,6 @@ def mock_firetext_client(mocker, statsd_client=None):
|
||||
return client
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_mmg_client(mocker, statsd_client=None):
|
||||
client = MMGClient()
|
||||
statsd_client = statsd_client or mocker.Mock()()
|
||||
current_app = mocker.Mock(config={
|
||||
'MMG_API_KEY': 'foo',
|
||||
'FROM_NUMBER': 'bar'
|
||||
})
|
||||
client.init_app(current_app, statsd_client)
|
||||
return client
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def sms_code_template(notify_db,
|
||||
notify_db_session):
|
||||
|
||||
Reference in New Issue
Block a user