1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

Moved contrib.webdesign tests out of contrib.

This commit is contained in:
Tim Graham
2015-02-11 12:29:20 -05:00
parent 7cf3a5786b
commit 8ec306a3a9
2 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.template import Context, Template
from django.test import SimpleTestCase, modify_settings
@modify_settings(INSTALLED_APPS={'append': 'django.contrib.webdesign'})
class WebdesignTest(SimpleTestCase):
def test_lorem_tag(self):
t = Template("{% load webdesign %}{% lorem 3 w %}")
self.assertEqual(t.render(Context({})),
'lorem ipsum dolor')