Skip to content

Commit 38032c9

Browse files
committed
Update test_offline paths
1 parent 8ee5025 commit 38032c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly-package/plotly/tests/test_core/test_offline/test_offline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def test_including_plotlyjs_directory_html(self):
221221
# plot creates plotly.min.js in the output directory
222222
self.assertTrue(
223223
os.path.exists(os.path.join(here, 'plotly.min.js')))
224-
with open('plotly.min.js', 'r') as f:
224+
with open(os.path.join(here, 'plotly.min.js'), 'r') as f:
225225
self.assertEqual(f.read(), PLOTLYJS)
226226

227227
def test_including_plotlyjs_directory_div(self):

0 commit comments

Comments
 (0)