Skip to content

Commit b9c5e7f

Browse files
committed
🔧 Cleanup test_session.py.
1 parent f4267aa commit b9c5e7f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: plotly/tests/test_core/test_session/test_session.py

+5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22

33
from plotly.tests.utils import PlotlyTestCase
44

5+
from plotly import session
56
from plotly.session import update_session_plot_options, SHARING_OPTIONS
67
from plotly.exceptions import PlotlyError
78

89

910
class TestSession(PlotlyTestCase):
1011

12+
def setUp(self):
13+
super(TestSession, self).setUp()
14+
session._session['plot_options'].clear()
15+
1116
def test_update_session_plot_options_invalid_sharing_argument(self):
1217

1318
# Return PlotlyError when sharing arguement is not

0 commit comments

Comments
 (0)