mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 06:21:43 -05:00
git coverage for the notifications client
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user