diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-04-01 19:58:16 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-04-01 19:59:57 +0200 |
| commit | 2817a29d9059886b163e72ab03f9012fa938645b (patch) | |
| tree | 5c6c8678684ed5973b057b0389bf2f4e28aa6507 /tests/utils_tests | |
| parent | dcf563071fad7fe286c6921c949639fc99f51351 (diff) | |
Imported unittest from django.utils in util_tests
Without this, the 'new' assertion methods are not present with
Python 2.6.
Diffstat (limited to 'tests/utils_tests')
| -rw-r--r-- | tests/utils_tests/html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils_tests/html.py b/tests/utils_tests/html.py index c1bddf42c6..a4a2694c91 100644 --- a/tests/utils_tests/html.py +++ b/tests/utils_tests/html.py @@ -2,13 +2,13 @@ from __future__ import unicode_literals from datetime import datetime import os -import unittest from django.utils import html from django.utils._os import upath +from django.utils.unittest import TestCase -class TestUtilsHtml(unittest.TestCase): +class TestUtilsHtml(TestCase): def check_output(self, function, value, output=None): """ |
