From d47c2cdf9ff49738d48d6e3e108e00b6388eba10 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Tue, 20 Jun 2017 10:51:25 +0100 Subject: [PATCH] remove dupe fixture --- tests/conftest.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index fed2c3c1f..7f556c22d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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,