raise 503 if you dont mock api properly in your tests

otherwise they'll return unexpected things (eg 404) if you have api
running locally (as you often do in dev)
This commit is contained in:
Leo Hemsted
2018-03-08 16:10:49 +00:00
parent 29ae0118f3
commit 8ecbb37f71

View File

@@ -99,6 +99,7 @@ class Test(Development):
CSV_UPLOAD_BUCKET_NAME = 'test-notifications-csv-upload'
LOGO_UPLOAD_BUCKET_NAME = 'public-logos-test'
NOTIFY_ENVIRONMENT = 'test'
API_HOST_NAME = 'http://you-forgot-to-mock-an-api-call-to'
TEMPLATE_PREVIEW_API_HOST = 'http://localhost:9999'