MCPcopy Index your code
hub / github.com/python-visualization/folium / test_layer_control_initialization

Function test_layer_control_initialization

tests/test_map.py:23–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_layer_control_initialization():
24 layer_control = LayerControl()
25 assert layer_control._name == "LayerControl"
26 assert layer_control.options["position"] == "topright"
27 assert layer_control.options["collapsed"] is True
28 assert layer_control.options["autoZIndex"] is True
29 assert layer_control.draggable is False
30 assert layer_control.base_layers == {}
31 assert layer_control.overlays == {}
32
33
34def test_layer_control_reset():

Callers

nothing calls this directly

Calls 1

LayerControlClass · 0.90

Tested by

no test coverage detected