id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 22988 Test in introspection package appears to be wrong jarshwah jarshwah "A test in tests/introspection/tests.py appears to be wrong: {{{ def test_django_table_names(self): with connection.cursor() as cursor: cursor.execute('CREATE TABLE django_ixn_test_table (id INTEGER);') tl = connection.introspection.django_table_names() cursor.execute(""DROP TABLE django_ixn_test_table;"") self.assertTrue('django_ixn_testcase_table' not in tl, ""django_table_names() returned a non-Django table"") }}} The assertion is checking for the non-existence of a table name that doesn't match the one just created. PR coming." Cleanup/optimization closed Database layer (models, ORM) dev Normal fixed Ready for checkin 1 0 0 0 1 0