mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #16196 - Redundant or incorrect code in tests
Thanks to intelliyole and melinath for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -45,7 +45,7 @@ class IntrospectionTests(TestCase):
|
||||
|
||||
def test_django_table_names(self):
|
||||
cursor = connection.cursor()
|
||||
cursor.execute('CREATE TABLE django_ixn_test_table (id INTEGER);');
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user