Browse Source

fix(api): avoid manual setting configuration during test

Peter Thomassen 1 year ago
parent
commit
088d3324a0
1 changed files with 2 additions and 0 deletions
  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"