Explorar el Código

fix(api): avoid manual setting configuration during test

Peter Thomassen hace 1 año
padre
commit
088d3324a0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      api/api/settings_quick_test.py

+ 2 - 0
api/api/settings_quick_test.py

@@ -35,3 +35,5 @@ REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = {"user": "1000/s"}
 
 # Carry email backend connection over to test mail outbox
 CELERY_EMAIL_MESSAGE_EXTRA_ATTRIBUTES = ["connection"]
+
+PCH_API = "http://api.invalid"