Loading tests/introspection/tests.py +1 −5 Original line number Diff line number Diff line Loading @@ -28,13 +28,9 @@ class IntrospectionTests(TransactionTestCase): "django_table_names() returned a non-Django table") def test_django_table_names_retval_type(self): # Ticket #15216 with connection.cursor() as cursor: cursor.execute('CREATE TABLE django_ixn_test_table (id INTEGER);') #15216 - Table name is a list tl = connection.introspection.django_table_names(only_existing=True) self.assertIs(type(tl), list) tl = connection.introspection.django_table_names(only_existing=False) self.assertIs(type(tl), list) Loading Loading
tests/introspection/tests.py +1 −5 Original line number Diff line number Diff line Loading @@ -28,13 +28,9 @@ class IntrospectionTests(TransactionTestCase): "django_table_names() returned a non-Django table") def test_django_table_names_retval_type(self): # Ticket #15216 with connection.cursor() as cursor: cursor.execute('CREATE TABLE django_ixn_test_table (id INTEGER);') #15216 - Table name is a list tl = connection.introspection.django_table_names(only_existing=True) self.assertIs(type(tl), list) tl = connection.introspection.django_table_names(only_existing=False) self.assertIs(type(tl), list) Loading