MCPcopy Create free account
hub / github.com/python-visualization/folium / test_params

Method test_params

folium/plugins/search.py:130–137  ·  view source on GitHub ↗
(self, keys)

Source from the content-addressed store, hash-verified

128 self.options = remove_empty(**kwargs)
129
130 def test_params(self, keys):
131 if keys is not None and self.search_label is not None:
132 assert self.search_label in keys, (
133 f"The label '{self.search_label}' was not " f"available in {keys}" ""
134 )
135 assert isinstance(
136 self._parent, Map
137 ), "Search can only be added to folium Map objects."
138
139 def render(self, **kwargs):
140 if isinstance(self.layer, GeoJson):

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected