Skip to content

Commit 9f3c576

Browse files
committed
add authentication to mpl tests
1 parent 66ac993 commit 9f3c576

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

plotly/tests/test_optional/test_plotly/test_plot_mpl.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717

1818
from plotly import exceptions
1919
from plotly.plotly import plotly as py
20-
from plotly.tests.utils import PlotlyTestCase
20+
from unittest import TestCase
2121

2222

23-
class PlotMPLTest(PlotlyTestCase):
23+
class PlotMPLTest(TestCase):
24+
def setUp(self):
25+
py.sign_in('PlotlyImageTest', '786r5mecv0',
26+
plotly_domain='https://plot.ly')
27+
2428
@raises(exceptions.PlotlyError)
2529
def test_update_type_error(self):
2630
fig, ax = plt.subplots()

0 commit comments

Comments
 (0)