diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-11 12:29:20 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-11 12:30:07 -0500 |
| commit | 8ec306a3a90aa2ec0baa4c9d8df68f0d49947a2c (patch) | |
| tree | 7a0f0de2bc4ec62da870b20a0efe7c6169012e4d | |
| parent | 7cf3a5786bc76374e743fbc0c1a1c8470a61f6c0 (diff) | |
Moved contrib.webdesign tests out of contrib.
| -rw-r--r-- | tests/webdesign_tests/__init__.py | 0 | ||||
| -rw-r--r-- | tests/webdesign_tests/tests.py (renamed from django/contrib/webdesign/tests.py) | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/webdesign_tests/__init__.py b/tests/webdesign_tests/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/webdesign_tests/__init__.py diff --git a/django/contrib/webdesign/tests.py b/tests/webdesign_tests/tests.py index fea378807f..0f8508c1a8 100644 --- a/django/contrib/webdesign/tests.py +++ b/tests/webdesign_tests/tests.py @@ -1,12 +1,12 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -import unittest - from django.template import Context, Template +from django.test import SimpleTestCase, modify_settings -class WebdesignTest(unittest.TestCase): +@modify_settings(INSTALLED_APPS={'append': 'django.contrib.webdesign'}) +class WebdesignTest(SimpleTestCase): def test_lorem_tag(self): t = Template("{% load webdesign %}{% lorem 3 w %}") |
