mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Initialise clients outside the app
This avoids the annoying problem where you can’t import a client unless the app has already been initialised.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from app import ComplaintApiClient
|
||||
from app.notify_client.complaint_api_client import ComplaintApiClient
|
||||
|
||||
|
||||
def test_get_all_complaints(mocker):
|
||||
|
||||
Reference in New Issue
Block a user