Add test for sentry-debug endpoint

This commit is contained in:
klmp200 committed 2024-10-15 14:09:51 +02:00
1 parent d16a207a83
commit c1a85486cc
3 files changed
+42 -6

No files matched your search

+2 -1
View File
@@ -724,7 +724,8 @@ if DEBUG:
"debug_toolbar.panels.signals.SignalsPanel",
"debug_toolbar.panels.redirects.RedirectsPanel",
]
SENTRY_ENV = "development"
if not TESTING:
SENTRY_ENV = "development" # We can't test if it gets overridden in settings
if TESTING:
CAPTCHA_TEST_MODE = True