From ce2eff7e482bcf00eb279cf66a673e273af32300 Mon Sep 17 00:00:00 2001 From: Thomas Chaumeny Date: Thu, 4 Dec 2014 15:18:44 +0100 Subject: [PATCH] Converted a SimpleTestCase that creates data to TestCase. --- tests/admin_util/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/admin_util/tests.py b/tests/admin_util/tests.py index bab6e7799c4..4d2b2d1edf5 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