mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #26176 -- Fixed E123 flake8 warnings.
This commit is contained in:
parent
275314512d
commit
406675b1a0
16 changed files with 536 additions and 548 deletions
|
@ -56,10 +56,9 @@ class MigrateTests(TransactionTestCase):
|
|||
# Not all GIS backends have geometry columns model
|
||||
pass
|
||||
else:
|
||||
self.assertEqual(
|
||||
GeoColumn.objects.filter(
|
||||
**{'%s__in' % GeoColumn.table_name_col(): ["gis_neighborhood", "gis_household"]}
|
||||
).count(),
|
||||
0)
|
||||
qs = GeoColumn.objects.filter(
|
||||
**{'%s__in' % GeoColumn.table_name_col(): ["gis_neighborhood", "gis_household"]}
|
||||
)
|
||||
self.assertEqual(qs.count(), 0)
|
||||
# Revert the "unmigration"
|
||||
call_command("migrate", "gis_migrations", verbosity=0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue