class_docstr: Test class for the Folium library.
class_docstr_tok: ["Test","class","for","the","Folium","library","."]
docstr: Test map initialization.
docstr_tok: ["Test","map","initialization","."]
code: def test_init(self):
      """Test map initialization."""
  
      assert self.m.get_name().startswith("map_")
      assert self.m.get_root() == self.m._parent
      assert self.m.location == [45.5236, -122.6750]
      assert self.m.options["zoom"] == 4
      assert self.m.options["maxBounds"] == [[-90, -180], [90, 180]]
      assert self.m.position == "relative"
      assert self.m.height == (400, "px")
      assert self.m.width == (900, "px")
      assert self.m.left == (0, "%")
      assert self.m.top == (0, "%")
      assert self.m.global_switches.no_touch is False
      assert self.m.global_switches.disable_3d is False
      assert self.m.to_dict() == {
          "name": "Map",
          "id": self.m._id,
          "children": {
              "openstreetmap": {
                  "name": "TileLayer",
                  "id": self.m._children["openstreetmap"]._id,
                  "children": {},
              }
          },
      }
  
imports: import json
  import os
  import branca.element
  import geopandas
  import jinja2
  import numpy
  import pandas
  import pytest
  import xyzservices.providers
  from jinja2 import Environment, PackageLoader
  from jinja2.utils import htmlsafe_json_dumps
  import folium
  from folium import TileLayer
  from folium.features import Choropleth, GeoJson
label_desc: Use image node_id 2 for calling the TestFolium obj's underlying member method code with example usage: obj.test_init() without return types