update tests to reflect no loadtesting provider

This commit is contained in:
Leo Hemsted
2019-10-31 13:51:40 +00:00
parent 4ed6ca1601
commit 59f1ce940d
2 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ def set_primary_sms_provider(identifier):
def test_can_get_sms_non_international_providers(restore_provider_details):
sms_providers = get_provider_details_by_notification_type('sms')
assert len(sms_providers) == 3
assert len(sms_providers) == 2
assert all('sms' == prov.notification_type for prov in sms_providers)
@@ -307,7 +307,7 @@ def test_dao_get_provider_stats(notify_db_session):
result = dao_get_provider_stats()
assert len(result) == 5
assert len(result) == 4
assert result[0].identifier == 'ses'
assert result[0].display_name == 'AWS SES'

View File

@@ -15,7 +15,7 @@ def test_get_provider_details_in_type_and_identifier_order(client, notify_db):
)
assert response.status_code == 200
json_resp = json.loads(response.get_data(as_text=True))['provider_details']
assert len(json_resp) == 5
assert len(json_resp) == 4
assert json_resp[0]['identifier'] == 'ses'
assert json_resp[1]['identifier'] == 'mmg'
@@ -54,7 +54,7 @@ def test_get_provider_contains_correct_fields(client, sample_service, sample_tem
"active", "updated_at", "supports_international",
"current_month_billable_sms"
}
assert len(json_resp) == 5
assert len(json_resp) == 4
assert allowed_keys == set(json_resp[0].keys())