diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py index c3d8238..ecc55d9 100644 --- a/src/postorius/views/list.py +++ b/src/postorius/views/list.py @@ -208,7 +208,7 @@ '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).