From 8ec306a3a90aa2ec0baa4c9d8df68f0d49947a2c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 11 Feb 2015 12:29:20 -0500 Subject: [PATCH] Moved contrib.webdesign tests out of contrib. --- tests/webdesign_tests/__init__.py | 0 .../contrib/webdesign => tests/webdesign_tests}/tests.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 tests/webdesign_tests/__init__.py rename {django/contrib/webdesign => tests/webdesign_tests}/tests.py (64%) diff --git a/tests/webdesign_tests/__init__.py b/tests/webdesign_tests/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/django/contrib/webdesign/tests.py b/tests/webdesign_tests/tests.py similarity index 64% rename from django/contrib/webdesign/tests.py rename to 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 %}")