From f3e26eb15a54e74a375e395200bfca3d1664adaf Mon Sep 17 00:00:00 2001 From: jelle van der Waa Date: Sun, 18 Feb 2018 10:33:52 +0100 Subject: Misc fixes (#84) * Update coveragerc to exclude newly located tests There are now tests under main/tests/* etc, which should be omitted for coverage. * omit settings from coverage settings and local_settings aren't interesting for coverage, omit them. * remove leftover secure context processor The secure context processor was used to determine if the cdn served assets should be loaded over https or http. Since assets are no longer served with a cdn and the whole site is loaded over https these days, this code is dead and can be removed. * packages: Add test for flagging packages out of date Add simple test cases for flagging packages out of date, should later be improved to query the Package model for packages and use that data instead of hardcoding. --- settings.py | 1 - 1 file changed, 1 deletion(-) (limited to 'settings.py') diff --git a/settings.py b/settings.py index 182b8e3b..5919b86b 100644 --- a/settings.py +++ b/settings.py @@ -180,7 +180,6 @@ TEMPLATES = [ 'django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.contrib.messages.context_processors.messages', - 'main.context_processors.secure', ], } } -- cgit v1.2.3-55-g3dc8