mirror of https://github.com/django/django.git
Moved contrib.webdesign tests out of contrib.
This commit is contained in:
parent
7cf3a5786b
commit
8ec306a3a9
|
@ -1,12 +1,12 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
from django.template import Context, Template
|
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):
|
def test_lorem_tag(self):
|
||||||
t = Template("{% load webdesign %}{% lorem 3 w %}")
|
t = Template("{% load webdesign %}{% lorem 3 w %}")
|
Loading…
Reference in New Issue