@@ -91,21 +91,21 @@ def test_normalize_stairs_keeps_climb(self):
9191 tags = {'highway' : 'steps' , 'climb' : 'down' , 'step_count' : '3' }
9292 normalizer = OSWWayNormalizer (tags )
9393 result = normalizer .normalize ()
94- expected = {'highway' : 'steps' , 'climb' : 'down' , 'step_count' : 3 }
94+ expected = {'highway' : 'steps' , 'climb' : 'down' , 'step_count' : 3 , 'foot' : 'yes' }
9595 self .assertEqual (result , expected )
9696
9797 def test_normalize_stairs_defaults_highway_and_no_foot (self ):
9898 tags = {'climb' : 'up' }
9999 normalizer = OSWWayNormalizer (tags )
100100 result = normalizer ._normalize_stairs ()
101- expected = {'highway ' : 'steps ' , 'climb ' : 'up ' }
101+ expected = {'climb ' : 'up ' , 'foot ' : 'yes ' }
102102 self .assertEqual (result , expected )
103103
104104 def test_normalize_stairs_drops_invalid_climb (self ):
105105 tags = {'highway' : 'steps' , 'climb' : 'left' }
106106 normalizer = OSWWayNormalizer (tags )
107107 result = normalizer .normalize ()
108- expected = {'highway' : 'steps' }
108+ expected = {'highway' : 'steps' , 'foot' : 'yes' }
109109 self .assertEqual (result , expected )
110110
111111 def test_normalize_invalid_way (self ):
0 commit comments