Commit b7455b52 authored by Josh Smeaton's avatar Josh Smeaton Committed by Simon Charette
Browse files

Fixed #22988 -- Adjusted an introspection test assertion.

Also changed test to use assertNotIn.
parent 011abb7d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ class IntrospectionTests(TestCase):
            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,
            self.assertNotIn('django_ixn_test_table', tl,
                             "django_table_names() returned a non-Django table")

    def test_django_table_names_retval_type(self):