From e75309b712537f3ee53005bf6330057c9640be21 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 9 Dec 2013 17:42:04 +0100 Subject: Another pass over the staticfiles panel. - adds some docstrings - adds some basic tests - adds the staticfiles panel to the default list of panels - fixed a pluralization bug in the template - refactored some things into own methods for easier testing --- tests/tests.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/tests.py') diff --git a/tests/tests.py b/tests/tests.py index 1818fe7..ca77f5b 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -8,6 +8,7 @@ if django.VERSION[:2] < (1, 6): # unittest-style discovery isn't available from .panels.test_redirects import * # noqa from .panels.test_request import * # noqa from .panels.test_sql import * # noqa + from .panels.test_staticfiles import * # noqa from .panels.test_template import * # noqa from .test_integration import * # noqa from .test_utils import * # noqa -- cgit v1.2.3 From 4e37f8bd430d30807c56372a372e570fe346c0fb Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Mon, 9 Dec 2013 17:46:41 +0100 Subject: Use django-discover-runner on older Djangos. --- tests/tests.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 tests/tests.py (limited to 'tests/tests.py') diff --git a/tests/tests.py b/tests/tests.py deleted file mode 100644 index ca77f5b..0000000 --- a/tests/tests.py +++ /dev/null @@ -1,14 +0,0 @@ -import django - -if django.VERSION[:2] < (1, 6): # unittest-style discovery isn't available - from .commands.test_debugsqlshell import * # noqa - from .panels.test_cache import * # noqa - from .panels.test_logging import * # noqa - from .panels.test_profiling import * # noqa - from .panels.test_redirects import * # noqa - from .panels.test_request import * # noqa - from .panels.test_sql import * # noqa - from .panels.test_staticfiles import * # noqa - from .panels.test_template import * # noqa - from .test_integration import * # noqa - from .test_utils import * # noqa -- cgit v1.2.3