Skip to content

Commit 762c01e

Browse files
committed
fix tests
1 parent 25ac6d9 commit 762c01e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/test_folium.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,14 @@ def setup(self):
7070
"""Setup Folium Map."""
7171
with mock.patch('branca.element.uuid4') as uuid4:
7272
uuid4().hex = '0' * 32
73-
self.m = folium.Map(location=[45.5236, -122.6750], width=900,
74-
height=400, max_zoom=20, zoom_start=4)
73+
self.m = folium.Map(
74+
location=[45.5236, -122.6750],
75+
width=900,
76+
height=400,
77+
max_zoom=20,
78+
zoom_start=4,
79+
max_bounds=True
80+
)
7581
self.env = Environment(loader=PackageLoader('folium', 'templates'))
7682

7783
def test_init(self):
@@ -357,6 +363,7 @@ def test_map_build(self):
357363
'lat': 45.5236, 'lon': -122.675,
358364
'size': 'width: 900.0px; height: 400.0px;',
359365
'zoom_level': 4,
366+
'max_bounds': True,
360367
'min_lat': -90,
361368
'max_lat': 90,
362369
'min_lon': -180,

0 commit comments

Comments
 (0)