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

Function test_vegalite_major_version

tests/test_features.py:144–150  ·  view source on GitHub ↗
(vegalite_spec, version)

Source from the content-addressed store, hash-verified

142
143@pytest.mark.parametrize("version", [1, 2, 3, 4, 5, None])
144def test_vegalite_major_version(vegalite_spec, version):
145 vegalite = folium.features.VegaLite(vegalite_spec)
146
147 if version is None:
148 assert vegalite.vegalite_major_version is None
149 else:
150 assert vegalite.vegalite_major_version == version
151
152
153# GeoJsonTooltip GeometryCollection

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…