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
1 changed files with 2 additions and 1 deletions

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: