(self)
| 152 | assert bounds == [[None, None], [None, None]], bounds |
| 153 | |
| 154 | def test_tilelayer_object(self): |
| 155 | url = "http://{s}.custom_tiles.org/{z}/{x}/{y}.png" |
| 156 | attr = "Attribution for custom tiles" |
| 157 | m = folium.Map(location=[45.52, -122.67], tiles=TileLayer(url, attr=attr)) |
| 158 | assert next(iter(m._children.values())).tiles == url |
| 159 | assert attr in m._parent.render() |
| 160 | |
| 161 | def test_feature_group(self): |
| 162 | """Test FeatureGroup.""" |