summaryrefslogtreecommitdiff
path: root/tests/gis_tests/gis_migrations/test_operations.py
diff options
context:
space:
mode:
authorsnowman2 <alansnow21@gmail.com>2021-05-13 13:02:31 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-14 07:10:28 +0200
commit29345aecf6e8d53ccb3577a3762bb0c263f7558d (patch)
treec424880b887d92557b0d236f8ac574eb86d04641 /tests/gis_tests/gis_migrations/test_operations.py
parent99bc67a9e79256d8a2fcd5742e33a5e79c056539 (diff)
downloaddjango-29345aecf6e8d53ccb3577a3762bb0c263f7558d.tar.gz
Fixed #32721 -- Fixed migrations crash when adding namespaced spatial indexes on PostGIS.
Diffstat (limited to 'tests/gis_tests/gis_migrations/test_operations.py')
-rw-r--r--tests/gis_tests/gis_migrations/test_operations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/gis_migrations/test_operations.py b/tests/gis_tests/gis_migrations/test_operations.py
index 25d55619ed..6c7adcf359 100644
--- a/tests/gis_tests/gis_migrations/test_operations.py
+++ b/tests/gis_tests/gis_migrations/test_operations.py
@@ -210,7 +210,7 @@ class OperationTests(OperationTestCase):
self.assertSpatialIndexExists('gis_neighborhood', 'point3d')
with connection.cursor() as cursor:
- index_name = 'gis_neighborhood_point3d_id'
+ index_name = 'gis_neighborhood_point3d_113bc868_id'
cursor.execute(self.get_opclass_query, [index_name])
self.assertEqual(
cursor.fetchall(),