git coverage for the notifications client

This commit is contained in:
Kenneth Kehl
2025-06-27 13:52:31 -07:00
parent ad42c8d51d
commit 61efcad616

View File

@@ -7,7 +7,9 @@ from notifications_python_client.notifications import NotificationsAPIClient
@pytest.fixture
def client():
client = NotificationsAPIClient("api-key")
client = NotificationsAPIClient(
"api-key", base_url="https://api.notifications.service.gov.fake-uk"
)
client.post = Mock()
client.get = Mock()
client._perform_request = Mock()