@@ -29,6 +29,12 @@ def django_test_expected_failures(self):
2929 "gis_tests.geoapp.tests.GeoModelTest.test_gis_query_as_string" ,
3030 # No lookups are supported (yet?)
3131 "gis_tests.geoapp.tests.GeoLookupTest.test_gis_lookups_with_complex_expressions" ,
32+ # LinearRing requires at least 4 points, got 1.
33+ "gis_tests.geoapp.tests.GeoLookupTest.test_null_geometries" ,
34+ "gis_tests.geoapp.tests.GeoModelTest.test_geometryfield" ,
35+ # Trying to remove spatial index fails:
36+ # "index not found with name [gis_neighborhood_geom_id]"
37+ "gis_tests.gis_migrations.test_operations.OperationTests.test_alter_field_remove_spatial_index" ,
3238 }
3339 )
3440 return expected_failures
@@ -44,6 +50,21 @@ def django_test_skips(self):
4450 "Raw SQL not supported" : {
4551 "gis_tests.geoapp.tests.GeoModelTest.test_raw_sql_query" ,
4652 },
53+ "MongoDB doesn't support the SRID(s) used in this test." : {
54+ # Error messages:
55+ # - Can't extract geo keys
56+ # - Longitude/latitude is out of bounds
57+ "gis_tests.geoapp.test_expressions.GeoExpressionsTests.test_update_from_other_field" ,
58+ "gis_tests.layermap.tests.LayerMapTest.test_encoded_name" ,
59+ # SouthTexasCity fixture objects use SRID 2278 which is ignored
60+ # by the patched version of loaddata in the Django fork.
61+ "gis_tests.distapp.tests.DistanceTest.test_init" ,
62+ },
63+ "ImproperlyConfigured isn't raised when using RasterField" : {
64+ # Normally RasterField.db_type() raises an error, but MongoDB
65+ # migrations don't need to call it, so the check doesn't happen.
66+ "gis_tests.gis_migrations.test_operations.NoRasterSupportTests" ,
67+ },
4768 },
4869 )
4970 return skips
0 commit comments