diff options
| author | Thomas Chaumeny <thomas.chaumeny@polyconseil.fr> | 2014-12-04 15:18:44 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-04 13:24:41 -0500 |
| commit | ce2eff7e482bcf00eb279cf66a673e273af32300 (patch) | |
| tree | f219547d95f4f7f27c4a488151f47f8cbbb8dab9 | |
| parent | 7daf00679d2848fdb6f5618009817b56486fce1b (diff) | |
Converted a SimpleTestCase that creates data to TestCase.
| -rw-r--r-- | tests/admin_util/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_util/tests.py b/tests/admin_util/tests.py index bab6e7799c..4d2b2d1edf 100644 --- a/tests/admin_util/tests.py +++ b/tests/admin_util/tests.py @@ -11,7 +11,7 @@ from django.contrib.admin.views.main import EMPTY_CHANGELIST_VALUE from django.contrib.sites.models import Site from django.db import models, DEFAULT_DB_ALIAS from django import forms -from django.test import SimpleTestCase, TestCase +from django.test import TestCase from django.utils.formats import localize from django.utils.safestring import mark_safe from django.utils import six @@ -91,7 +91,7 @@ class NestedObjectsTests(TestCase): n.collect([Vehicle.objects.first()]) -class UtilTests(SimpleTestCase): +class UtilTests(TestCase): def test_values_from_lookup_field(self): """ Regression test for #12654: lookup_field |
