Skip to content

Commit

Permalink
Mostly this should fix tests that compares intersects query
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Oct 9, 2023
1 parent a1204fa commit e4cd9b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def test_rawdata_current_snapshot_geometry_query():
],
},
"outputType": "geojson",
"useStWithin": False,
"filters": {
"tags": {"point": {"join_or": {"amenity": ["shop", "toilet"]}}},
"attributes": {"point": ["name"]},
Expand Down Expand Up @@ -85,6 +86,7 @@ def test_rawdata_current_snapshot_normal_query():
]
],
},
"useStWithin": False,
"outputType": "geojson",
}
validated_params = RawDataCurrentParams(**test_param)
Expand Down Expand Up @@ -130,6 +132,7 @@ def test_attribute_filter_rawdata():
],
},
"outputType": "geojson",
"useStWithin": False,
"geometryType": ["polygon", "line"],
"filters": {
"attributes": {"line": ["name"]},
Expand Down Expand Up @@ -181,6 +184,7 @@ def test_and_filters():
],
},
"outputType": "geojson",
"useStWithin": False,
"geometryType": ["polygon"],
"filters": {
"tags": {
Expand Down

0 comments on commit e4cd9b3

Please sign in to comment.