Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

push_notifs: Keep APNS_CERT_FILE as None in tests.

Greg Priced1e4347cb2ae
diff --git a/zproject/test_extra_settings.py b/zproject/test_extra_settings.py
index 067c9ca0263..877541584eb 100644
--- a/zproject/test_extra_settings.py
+++ b/zproject/test_extra_settings.py
@@ -156,6 +156,9 @@ INLINE_URL_EMBED_PREVIEW = False
HOME_NOT_LOGGED_IN = "/login/"
LOGIN_URL = "/accounts/login/"
+# If dev_settings.py found a cert file to use here, ignore it.
+APNS_CERT_FILE: Optional[str] = None
+
# By default will not send emails when login occurs.
# Explicitly set this to True within tests that must have this on.
SEND_LOGIN_EMAILS = False