Remove unused test code

Notifications don't have a `scheduled_for` attribute, and the test
function deleted isn't used anywhere.
This commit is contained in:
Katie Smith
2022-02-28 12:45:25 +00:00
parent d572c7228d
commit c9dafa0372
3 changed files with 0 additions and 7 deletions
-4
View File
@@ -29,10 +29,6 @@ IN_MAY_2016 = datetime(2016, 5, 10, 23, 00, 00)
IN_JUN_2016 = datetime(2016, 6, 3, 23, 00, 00) IN_JUN_2016 = datetime(2016, 6, 3, 23, 00, 00)
def _assert_dict_equals(actual, expected_dict):
assert actual == expected_dict
def test_create_update_free_sms_fragment_limit_invalid_schema(client, sample_service): def test_create_update_free_sms_fragment_limit_invalid_schema(client, sample_service):
response = client.post('service/{}/billing/free-sms-fragment-limit'.format(sample_service.id), response = client.post('service/{}/billing/free-sms-fragment-limit'.format(sample_service.id),
-1
View File
@@ -260,7 +260,6 @@ def create_notification(
rate_multiplier=None, rate_multiplier=None,
international=False, international=False,
phone_prefix=None, phone_prefix=None,
scheduled_for=None,
normalised_to=None, normalised_to=None,
one_off=False, one_off=False,
reply_to_text=None, reply_to_text=None,
@@ -20,7 +20,6 @@ def test_get_notification_by_id_returns_200(
template=sample_template, template=sample_template,
billable_units=billable_units, billable_units=billable_units,
sent_by=provider, sent_by=provider,
scheduled_for="2017-05-12 15:15"
) )
# another # another
@@ -28,7 +27,6 @@ def test_get_notification_by_id_returns_200(
template=sample_template, template=sample_template,
billable_units=billable_units, billable_units=billable_units,
sent_by=provider, sent_by=provider,
scheduled_for="2017-06-12 15:15"
) )
auth_header = create_service_authorization_header(service_id=sample_notification.service_id) auth_header = create_service_authorization_header(service_id=sample_notification.service_id)