Skip to content

Commit 39b9ab3

Browse files
committed
fix test
1 parent 1ef23cf commit 39b9ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_folium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def test_tilelayer_object(self):
153153
url = "http://{s}.custom_tiles.org/{z}/{x}/{y}.png"
154154
attr = "Attribution for custom tiles"
155155
m = folium.Map(location=[45.52, -122.67], tiles=TileLayer(url, attr=attr))
156-
assert m._children[url].tiles == url
156+
assert next(iter(m._children.values())).tiles == url
157157
assert attr in m._parent.render()
158158

159159
def test_feature_group(self):

0 commit comments

Comments
 (0)