From 56ac537e27a869564863ea9a958819652bb1edf8 Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Tue, 13 Aug 2024 18:53:37 +0800 Subject: [PATCH] bring test settings up to speed... --- tests/test_settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_settings.py b/tests/test_settings.py index 950d692..a656877 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -7,6 +7,9 @@ # Celery configuration CELERY_ALWAYS_EAGER = True # Forces celery to run locally for testing +SITE_URL = "https://example.com" +CSRF_TRUSTED_ORIGINS = [SITE_URL] + INSTALLED_APPS += [ 'pinger', 'corptools'