mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #26176 -- Fixed E123 flake8 warnings.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user