File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
plotly/tests/test_core/test_session Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
from plotly .tests .utils import PlotlyTestCase
4
4
5
- from plotly .session import (update_session_plot_options , SHARING_OPTIONS ,
6
- _session )
5
+ from plotly .session import update_session_plot_options , SHARING_OPTIONS
7
6
from plotly .exceptions import PlotlyError
8
7
9
8
@@ -22,8 +21,9 @@ def test_update_session_plot_options_valid_sharing_argument(self):
22
21
# _session['plot_options'] should contain sharing key after
23
22
# update_session_plot_options is called by correct arguments
24
23
# 'public, 'private' or 'secret'
25
-
24
+ from plotly . session import _session
26
25
for key in SHARING_OPTIONS :
27
26
kwargs = {'sharing' : key }
28
27
update_session_plot_options (** kwargs )
28
+
29
29
self .assertEqual (_session ['plot_options' ], kwargs )
You can’t perform that action at this time.
0 commit comments