Skip to content

Commit 72a949c

Browse files
fix test
1 parent e7a3809 commit 72a949c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/python/plotly/plotly/tests/test_io/test_renderers.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,11 @@ def open_url(url, new=0, autoraise=True):
249249
pio.show(fig1)
250250

251251
# check get args
252-
mock_get.assert_called_once_with(renderer_obj.using)
252+
if isinstance(renderer_obj.using, tuple):
253+
for using in renderer_obj.using:
254+
mock_get.assert_called_with(using)
255+
else:
256+
mock_get.assert_called_once_with(renderer_obj.using)
253257

254258
# check open args
255259
mock_call_args = mock_browser.open.call_args

0 commit comments

Comments
 (0)