@@ -29,6 +29,12 @@ def django_test_expected_failures(self):
29
29
"gis_tests.geoapp.tests.GeoModelTest.test_gis_query_as_string" ,
30
30
# No lookups are supported (yet?)
31
31
"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" ,
32
38
}
33
39
)
34
40
return expected_failures
@@ -44,6 +50,21 @@ def django_test_skips(self):
44
50
"Raw SQL not supported" : {
45
51
"gis_tests.geoapp.tests.GeoModelTest.test_raw_sql_query" ,
46
52
},
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
+ },
47
68
},
48
69
)
49
70
return skips
0 commit comments