From a35d2a4510d5beec398b1007aaa26492d6aedf97 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 12 Sep 2018 23:45:17 +0100 Subject: Refs #23748 -- Added AutoField introspection for SQLite. --- tests/introspection/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/introspection/tests.py b/tests/introspection/tests.py index a616ee0f98..4eb868e907 100644 --- a/tests/introspection/tests.py +++ b/tests/introspection/tests.py @@ -110,7 +110,7 @@ class IntrospectionTests(TransactionTestCase): def test_bigautofield(self): with connection.cursor() as cursor: desc = connection.introspection.get_table_description(cursor, City._meta.db_table) - self.assertIn('BigAutoField', [datatype(r[1], r) for r in desc]) + self.assertIn(connection.features.introspected_big_auto_field_type, [datatype(r[1], r) for r in desc]) # Regression test for #9991 - 'real' types in postgres @skipUnlessDBFeature('has_real_datatype') -- cgit v1.3