Skip to content

Commit

Permalink
Merge pull request #547 from mapzen/fix-tests
Browse files Browse the repository at this point in the history
Fix tests for limited dataset, sort key changes
  • Loading branch information
zerebubuth committed Mar 1, 2016
2 parents 7904897 + 6201626 commit 086ff64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/343-winter-sports-resorts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
assert_has_feature(
15, 5467, 12531, 'landuse',
{ 'kind': 'winter_sports',
'sort_key': 2 })
'sort_key': 27 })
11 changes: 6 additions & 5 deletions test/400-bay-water.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
14, 2623, 6318, 'water',
{ 'kind': 'bay', 'label_placement': 'yes' })

# osm_id: 360566115 name: Byron strait
# osm_id: -1019862, name: Sansum Narrows
assert_has_feature(
14, 15043, 8311, 'water',
11, 321, 705, 'water',
{ 'kind': 'strait', 'label_placement': 'yes' })

# None in North America?
# osm_id: -1451065 name: Horsens Fjord
assert_has_feature(
14, 8645, 5114, 'water',
{ 'kind': 'fjord', 'label_placement': 'yes' })
#assert_has_feature(
# 14, 8645, 5114, 'water',
# { 'kind': 'fjord', 'label_placement': 'yes' })

0 comments on commit 086ff64

Please sign in to comment.