Skip to content

Commit

Permalink
Check for presence of the feature, not absence
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Sep 2, 2021
1 parent 2da724b commit 81ccb15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration-test/1972-big-parking-lots.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ def test_osm_big_parking_capacity(self):
)

x, y = deg2num(lat, lon, 15)
self.assert_no_matching_feature(
15, x, y, 'places', {
self.assert_has_feature(
15, x, y, 'pois', {
'id': 8712714905,
'kin': 'parking',
'min_zoom': 18,
'source': u'openstreetmap.org',
})

0 comments on commit 81ccb15

Please sign in to comment.