mirror of
https://github.com/django/django.git
synced 2025-11-29 15:01:18 +00:00
Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.
This commit is contained in:
parent
d5bc362030
commit
9a3b7e5e2b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue