mirror of
https://github.com/django/django.git
synced 2025-06-02 10:09:12 +00:00
Moved contrib.webdesign tests out of contrib.
This commit is contained in:
parent
7cf3a5786b
commit
8ec306a3a9
0
tests/webdesign_tests/__init__.py
Normal file
0
tests/webdesign_tests/__init__.py
Normal file
@ -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 %}")
|
Loading…
x
Reference in New Issue
Block a user