diff options
| author | sage <laymonage@gmail.com> | 2019-03-28 16:18:30 +0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-03-28 10:18:30 +0100 |
| commit | 5a92bb0725e07068b260364ef66466f126000b0b (patch) | |
| tree | 33134f0698bcd81ab4986e2c61b36d1a8435b943 /tests/max_lengths/tests.py | |
| parent | e449c3a832ff2a4e3fa83cec6909d0476ed14110 (diff) | |
Fixed #30295 -- Fixed max_lengths.tests.MaxLengthORMTests when run in isolation.
Diffstat (limited to 'tests/max_lengths/tests.py')
| -rw-r--r-- | tests/max_lengths/tests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/max_lengths/tests.py b/tests/max_lengths/tests.py index fb81a7f473..dfea552fad 100644 --- a/tests/max_lengths/tests.py +++ b/tests/max_lengths/tests.py @@ -1,5 +1,7 @@ import unittest +from django.test import TestCase + from .models import PersonWithCustomMaxLengths, PersonWithDefaultMaxLengths @@ -21,7 +23,7 @@ class MaxLengthArgumentsTests(unittest.TestCase): self.verify_max_length(PersonWithCustomMaxLengths, 'avatar', 250) -class MaxLengthORMTests(unittest.TestCase): +class MaxLengthORMTests(TestCase): def test_custom_max_lengths(self): args = { |
