summaryrefslogtreecommitdiff
path: root/tests/max_lengths/tests.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-07-01 14:22:27 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-07-01 14:29:33 +0200
commitcfcf4b3605f9653e4e056088d89932b2a0e4281b (patch)
tree1eed1ebdb087b26abeddf5245fc723930d14d847 /tests/max_lengths/tests.py
parent7f264e02f4480c49d1440be882416a10951c2165 (diff)
Stopped using django.utils.unittest in the test suite.
Refs #20680.
Diffstat (limited to 'tests/max_lengths/tests.py')
-rw-r--r--tests/max_lengths/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/max_lengths/tests.py b/tests/max_lengths/tests.py
index 9dfcabff45..0f525864d5 100644
--- a/tests/max_lengths/tests.py
+++ b/tests/max_lengths/tests.py
@@ -1,6 +1,6 @@
from __future__ import absolute_import
-from django.utils import unittest
+import unittest
from .models import PersonWithDefaultMaxLengths, PersonWithCustomMaxLengths
@@ -36,4 +36,4 @@ class MaxLengthORMTests(unittest.TestCase):
new_args = args.copy()
new_args[field] = "X" * 250 # a value longer than any of the default fields could hold.
p = PersonWithCustomMaxLengths.objects.create(**new_args)
- self.assertEqual(getattr(p, field), ("X" * 250)) \ No newline at end of file
+ self.assertEqual(getattr(p, field), ("X" * 250))