summaryrefslogtreecommitdiff
path: root/django/contrib/webdesign/tests.py
blob: fea378807f1e73487285c0760492a58955df2cba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import unittest

from django.template import Context, Template


class WebdesignTest(unittest.TestCase):

    def test_lorem_tag(self):
        t = Template("{% load webdesign %}{% lorem 3 w %}")
        self.assertEqual(t.render(Context({})),
                         'lorem ipsum dolor')