Commit 5af2e6cc authored by Mark Sapiro's avatar Mark Sapiro

Fix Postorius #170

parent c046f2ed
......@@ -207,7 +207,7 @@ class ListSummaryView(MailingListView):
'hyperkitty_enabled': False}
if self.mailing_list.settings['archive_policy'] == 'public':
data['public_archive'] = True
if getattr(settings, 'TESTING') and \
if getattr(settings, 'TESTING', False) and \
'hyperkitty' not in settings.INSTALLED_APPS:
# avoid systematic test failure when HyperKitty is installed
# (missing VCR request, see below).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment