From b9b3d7e9f39d71eb5d5563cb128f728e838cc19f Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Mon, 4 Dec 2017 16:45:12 +0000 Subject: [PATCH 1/2] remove other line --- tests/app/main/views/test_dashboard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/app/main/views/test_dashboard.py b/tests/app/main/views/test_dashboard.py index c9b7add23..2c0017bf3 100644 --- a/tests/app/main/views/test_dashboard.py +++ b/tests/app/main/views/test_dashboard.py @@ -630,8 +630,7 @@ def test_usage_page_with_year_argument( logged_in_client, mock_get_usage, mock_get_billable_units, - mock_get_free_sms_fragment_limit, - # mock_create_or_update_free_sms_fragment_limit + mock_get_free_sms_fragment_limit ): assert logged_in_client.get(url_for('main.usage', service_id=SERVICE_ONE_ID, year=2000)).status_code == 200 mock_get_billable_units.assert_called_once_with(SERVICE_ONE_ID, 2000) From 292350633f6096a2a6574fed1282f336f26a5176 Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Mon, 4 Dec 2017 17:08:53 +0000 Subject: [PATCH 2/2] update tests --- tests/app/notify_client/test_service_api_client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/app/notify_client/test_service_api_client.py b/tests/app/notify_client/test_service_api_client.py index a77090a5f..710d2260d 100644 --- a/tests/app/notify_client/test_service_api_client.py +++ b/tests/app/notify_client/test_service_api_client.py @@ -57,7 +57,6 @@ def test_client_creates_service_with_correct_data( client.create_service( service_name='My first service', organisation_type='central_government', - free_sms_fragment_limit=2, message_limit=1, restricted=True, user_id=fake_uuid, @@ -73,7 +72,6 @@ def test_client_creates_service_with_correct_data( name='My first service', # The rest pass through with the same names organisation_type='central_government', - free_sms_fragment_limit=2, message_limit=1, restricted=True, user_id=fake_uuid,