Ticket #15738: contenttypes_tests.diff

File contenttypes_tests.diff, 546 bytes (added by mitnk, 13 years ago)
  • django/contrib/contenttypes/tests.py

     
    4444        # Once we clear the cache, another lookup will again hit the DB
    4545        ContentType.objects.clear_cache()
    4646        ContentType.objects.get_for_model(ContentType)
    47         len(db.connection.queries)
    4847        self.assertEqual(2, len(db.connection.queries))
    4948
    5049    def test_shortcut_view(self):
Back to Top