Skip to content

Commit 3c1f511

Browse files
committed
fix session test
1 parent a2780ba commit 3c1f511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotly/tests/test_core/test_session/test_session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
from plotly.tests.utils import PlotlyTestCase
44

5-
from plotly.session import (update_session_plot_options, SHARING_OPTIONS,
6-
_session)
5+
from plotly.session import update_session_plot_options, SHARING_OPTIONS
76
from plotly.exceptions import PlotlyError
87

98

@@ -22,8 +21,9 @@ def test_update_session_plot_options_valid_sharing_argument(self):
2221
# _session['plot_options'] should contain sharing key after
2322
# update_session_plot_options is called by correct arguments
2423
# 'public, 'private' or 'secret'
25-
24+
from plotly.session import _session
2625
for key in SHARING_OPTIONS:
2726
kwargs = {'sharing': key}
2827
update_session_plot_options(**kwargs)
28+
2929
self.assertEqual(_session['plot_options'], kwargs)

0 commit comments

Comments
 (0)