Skip to content

Commit f322122

Browse files
committed
removed sign into stage section in offline tests
1 parent aeac290 commit f322122

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

plotly/tests/test_core/test_offline/test_offline.py

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -103,23 +103,3 @@ def test_config(self):
103103
self.assertIn('"linkText": "Plotly rocks!"', html)
104104
self.assertIn('"showLink": true', html)
105105
self.assertIn('"editable": true', html)
106-
107-
108-
class PlotlyOfflineOtherDomainTestCase(PlotlyOfflineBaseTestCase):
109-
def setUp(self):
110-
super(PlotlyOfflineOtherDomainTestCase, self).setUp()
111-
plotly.tools.set_config_file(plotly_domain='https://stage.plot.ly',
112-
plotly_api_domain='https://api-stage.plot.ly')
113-
plotly.plotly.sign_in('PlotlyStageTest', 'rs3GA48WfFKUX4JpVL07')
114-
115-
def test_plot_rendered_if_non_plotly_domain(self):
116-
html = plotly.offline.plot(fig, output_type='div')
117-
118-
# test that 'Export to stage.plot.ly' is in the html
119-
self.assertIn('Export to stage.plot.ly', html)
120-
121-
def tearDown(self):
122-
plotly.tools.set_config_file(plotly_domain='https://plot.ly',
123-
plotly_api_domain='https://api.plot.ly')
124-
plotly.plotly.sign_in('PythonTest', '9v9f20pext')
125-
super(PlotlyOfflineOtherDomainTestCase, self).tearDown()

0 commit comments

Comments
 (0)