mirror of https://github.com/django/django.git
Fixed #15738 -- Removed unnecessary line in contrib.contenttypes tests. Thanks, mitnk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fb55a1a77d
commit
1c7a9a403a
|
@ -44,7 +44,6 @@ class ContentTypesTests(TestCase):
|
|||
# Once we clear the cache, another lookup will again hit the DB
|
||||
ContentType.objects.clear_cache()
|
||||
ContentType.objects.get_for_model(ContentType)
|
||||
len(db.connection.queries)
|
||||
self.assertEqual(2, len(db.connection.queries))
|
||||
|
||||
def test_shortcut_view(self):
|
||||
|
|
Loading…
Reference in New Issue