| 1 | from .conftest import get_client, verify_request_count |
| 2 | |
| 3 | |
| 4 | def test_attackProtection_phoneProviderProtection_get() -> None: |
| 5 | """Test get endpoint with WireMock""" |
| 6 | test_id = "attack_protection.phone_provider_protection.get.0" |
| 7 | client = get_client(test_id) |
| 8 | client.attack_protection.phone_provider_protection.get() |
| 9 | verify_request_count(test_id, "GET", "/attack-protection/phone-provider-protection", None, 1) |
| 10 | |
| 11 | |
| 12 | def test_attackProtection_phoneProviderProtection_patch() -> None: |
| 13 | """Test patch endpoint with WireMock""" |
| 14 | test_id = "attack_protection.phone_provider_protection.patch.0" |
| 15 | client = get_client(test_id) |
| 16 | client.attack_protection.phone_provider_protection.patch( |
| 17 | type="exponential", |
| 18 | ) |
| 19 | verify_request_count(test_id, "PATCH", "/attack-protection/phone-provider-protection", None, 1) |