Skip to content

Commit 13e3824

Browse files
committed
Disable template for test_offline tests
1 parent d2599b6 commit 13e3824

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plotly/tests/test_core/test_offline/test_offline.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import json as _json
1212

1313
import plotly
14+
import plotly.io as pio
1415
import json
1516

1617

@@ -76,8 +77,12 @@ def tearDown(self):
7677

7778

7879
class PlotlyOfflineTestCase(PlotlyOfflineBaseTestCase):
80+
7981
def setUp(self):
80-
pass
82+
pio.templates.default = None
83+
84+
def tearDown(self):
85+
pio.templates.default = 'plotly'
8186

8287
def _read_html(self, file_url):
8388
""" Read and return the HTML contents from a file_url

0 commit comments

Comments
 (0)