Alpha client removed from code. Tests fixed but will wait till other notifications jobs are done before creating a pull request.

This commit is contained in:
Nicholas Staples
2016-02-09 11:38:57 +00:00
parent c1b0cef864
commit 2fda7ee59b
6 changed files with 9 additions and 172 deletions

View File

@@ -155,24 +155,6 @@ def sample_admin_service_id(notify_db, notify_db_session):
return admin_service.id
@pytest.fixture(scope='function')
def mock_notify_client_send_sms(mocker):
def _send(mobile_number, message):
pass
mock_class = mocker.patch('app.notify_alpha_client.send_sms', side_effect=_send)
return mock_class
@pytest.fixture(scope='function')
def mock_notify_client_send_email(mocker):
def _send(email_address, message, from_address, subject):
pass
mock_class = mocker.patch('app.notify_alpha_client.send_email', side_effect=_send)
return mock_class
@pytest.fixture(scope='function')
def mock_secret_code(mocker):
def _create():