diff options
author | Tim Graham <timograham@gmail.com> | 2022-06-01 13:10:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 19:10:38 +0200 |
commit | 9a3b7e5e2be751d28b8782ad23a63e1c75f27e24 (patch) | |
tree | ae30b9f85569967159bfb28dead4187488e29040 /tests/inspectdb | |
parent | d5bc36203057627f6f7d0c6dc97b31adde6f4313 (diff) | |
download | django-9a3b7e5e2be751d28b8782ad23a63e1c75f27e24.tar.gz |
Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.
Diffstat (limited to 'tests/inspectdb')
-rw-r--r-- | tests/inspectdb/tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/inspectdb/tests.py b/tests/inspectdb/tests.py index 76c5e2b940..9bf3c432e5 100644 --- a/tests/inspectdb/tests.py +++ b/tests/inspectdb/tests.py @@ -608,7 +608,8 @@ class InspectDBTransactionalTests(TransactionTestCase): output, ) self.assertIn( - "column_2 = models.IntegerField()", + "column_2 = models.%s()" + % connection.features.introspected_field_types["IntegerField"], output, ) finally: |