diff options
author | Nick Pope <nick.pope@flightdataservices.com> | 2018-09-12 23:45:17 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2019-01-09 09:59:15 -0500 |
commit | a35d2a4510d5beec398b1007aaa26492d6aedf97 (patch) | |
tree | f21fd8cfc51a2a19370a1f3283e53f4cbef87553 /tests/introspection | |
parent | e7f0e9b7045e7bcbe1e8ad85aec486c01f570e43 (diff) | |
download | django-a35d2a4510d5beec398b1007aaa26492d6aedf97.tar.gz |
Refs #23748 -- Added AutoField introspection for SQLite.
Diffstat (limited to 'tests/introspection')
-rw-r--r-- | tests/introspection/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |