remove dupe fixture

This commit is contained in:
Leo Hemsted
2017-06-20 10:51:25 +01:00
parent 580c225ca2
commit d47c2cdf9f

View File

@@ -1099,22 +1099,6 @@ def mock_get_notifications(mocker, api_user_active):
)
@pytest.fixture(scope='function')
def mock_get_notification(mocker, api_user_active):
def _get_notification(
service_id,
notification_id,
):
return single_notification_json(
service_id,
)
return mocker.patch(
'app.notification_api_client.get_notification',
side_effect=_get_notification
)
@pytest.fixture(scope='function')
def mock_get_notifications_with_previous_next(mocker):
def _get_notifications(service_id,