1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.

This commit is contained in:
Tim Graham 2022-06-01 13:10:38 -04:00 committed by GitHub
parent d5bc362030
commit 9a3b7e5e2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: