Skip to content

Commit 451d349

Browse files
committed
🔧 Cleanup test_image.py.
1 parent 1938a33 commit 451d349

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

plotly/tests/test_core/test_image/test_image.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import absolute_import
22

3-
from unittest import TestCase
43
import imghdr
54
import tempfile
65
import os
@@ -11,15 +10,15 @@
1110

1211
from plotly import exceptions
1312
from plotly.plotly import plotly as py
13+
from plotly.tests.utils import PlotlyTestCase
1414

1515

1616
@attr('slow')
17-
class TestImage(TestCase):
18-
def setUp(self):
19-
py.sign_in('PlotlyImageTest', '786r5mecv0',
20-
plotly_domain='https://plot.ly',
21-
plotly_api_domain='https://api.plot.ly')
17+
class TestImage(PlotlyTestCase):
2218

19+
def setUp(self):
20+
super(TestImage, self).setUp()
21+
py.sign_in('PlotlyImageTest', '786r5mecv0')
2322
self.data = [{'x': [1, 2, 3], 'y': [3, 1, 6]}]
2423

2524

0 commit comments

Comments
 (0)