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

@@ -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())