Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.
This commit is contained in:
parent
d5bc362030
commit
9a3b7e5e2b
|
@ -608,7 +608,8 @@ class InspectDBTransactionalTests(TransactionTestCase):
|
||||||
output,
|
output,
|
||||||
)
|
)
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
"column_2 = models.IntegerField()",
|
"column_2 = models.%s()"
|
||||||
|
% connection.features.introspected_field_types["IntegerField"],
|
||||||
output,
|
output,
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Reference in New Issue