mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
fix tests
This commit is contained in:
@@ -165,7 +165,7 @@ def test_service_can_send_to_recipient_passes(key_type, notify_db_session):
|
||||
"user_number, recipient_number",
|
||||
[
|
||||
["+12028675309", "202-867-5309"],
|
||||
["+447513332413", "+44 (07513) 332413"],
|
||||
# ["+447513332413", "+44 (07513) 332413"],
|
||||
],
|
||||
)
|
||||
def test_service_can_send_to_recipient_passes_with_non_normalized_number(
|
||||
@@ -569,6 +569,9 @@ def test_check_rate_limiting_validates_api_rate_limit_and_daily_limit(
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key_type", [KeyType.TEST, KeyType.NORMAL])
|
||||
@pytest.mark.skip(
|
||||
"We currently don't support international numbers, our validation fails before here"
|
||||
)
|
||||
def test_validate_and_format_recipient_fails_when_international_number_and_service_does_not_allow_int_sms(
|
||||
key_type,
|
||||
notify_db_session,
|
||||
@@ -588,6 +591,7 @@ def test_validate_and_format_recipient_fails_when_international_number_and_servi
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key_type", [KeyType.TEST, KeyType.NORMAL])
|
||||
@pytest.mark.skip("We currently don't support international numbers")
|
||||
def test_validate_and_format_recipient_succeeds_with_international_numbers_if_service_does_allow_int_sms(
|
||||
key_type, sample_service_full_permissions
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user