Converted a SimpleTestCase that creates data to TestCase.

This commit is contained in:
Thomas Chaumeny 2014-12-04 15:18:44 +01:00 committed by Tim Graham
parent 7daf00679d
commit ce2eff7e48
1 changed files with 2 additions and 2 deletions

View File

@ -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