Skip to content

Commit 5d2803f

Browse files
committed
more changes
1 parent faebf31 commit 5d2803f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Diff for: packages/python/chart-studio/chart_studio/tests/test_core/test_tools/test_get_embed.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010

1111
def test_get_valid_embed():
12-
url = "https://plot.ly/~PlotBot/82/"
12+
url = "https://plotly.com/~PlotBot/82/"
1313
tls.get_embed(url)
1414

1515

1616
def test_get_invalid_embed():
17-
url = "https://plot.ly/~PlotBot/a/"
17+
url = "https://plotly.com/~PlotBot/a/"
1818
with pytest.raises(PlotlyError):
1919
tls.get_embed(url)
2020

@@ -25,7 +25,7 @@ def test_get_embed_url_with_share_key(self):
2525
# Check the embed url for url with share_key included
2626

2727
get_embed_return = tls.get_embed(
28-
"https://plot.ly/~neda/6572" + "?share_key=AH4MyPlyDyDWYA2cM2kj2m"
28+
"https://plotly.com/~neda/6572" + "?share_key=AH4MyPlyDyDWYA2cM2kj2m"
2929
)
3030
expected_get_embed = (
3131
'<iframe id="igraph" scrolling="no" '
@@ -37,7 +37,7 @@ def test_get_embed_url_with_share_key(self):
3737
'width="{iframe_width}">'
3838
"</iframe>"
3939
).format(
40-
plotly_rest_url="https://" + "plot.ly",
40+
plotly_rest_url="https://" + "plotly.com",
4141
file_owner="neda",
4242
file_id="6572",
4343
share_key="AH4MyPlyDyDWYA2" + "cM2kj2m",

Diff for: packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_get_figure/test_get_figure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_get_figure(self):
4747
def test_get_figure_with_url(self):
4848
un = "PlotlyImageTest"
4949
ak = "786r5mecv0"
50-
url = "https://plot.ly/~PlotlyImageTest/13183/"
50+
url = "https://plotly.com/~PlotlyImageTest/13183/"
5151
py.sign_in(un, ak)
5252
py.get_figure(url)
5353

Diff for: packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_get_requests/test_get_requests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"plotly-platform": "pythonz",
2121
}
2222

23-
server = "https://plot.ly"
23+
server = "https://plotly.com"
2424

2525

2626
class GetRequestsTest(PlotlyTestCase):

Diff for: packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_grid/test_grid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class GridTest(PlotlyTestCase):
3434
_grid_id = "chris:3043"
3535
_grid = Grid([])
3636
_grid.id = _grid_id
37-
_grid_url = "https://plot.ly/~chris/3043/my-grid"
37+
_grid_url = "https://plotly.com/~chris/3043/my-grid"
3838

3939
def setUp(self):
4040
super(GridTest, self).setUp()

Diff for: packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_meta/test_meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ def test_upload_meta_with_grid(self):
5454
+ "https://github.com/plotly/python-api/issues/263"
5555
)
5656
def test_metadata_to_nonexistent_grid(self):
57-
non_exist_meta_url = "https://local.plot.ly/~GridTest/999999999"
57+
non_exist_meta_url = "https://local.plotly.com/~GridTest/999999999"
5858
with self.assertRaises(PlotlyRequestError):
5959
py.meta_ops.upload(self._meta, grid_url=non_exist_meta_url)

Diff for: packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_spectacle_presentation/test_spectacle_presentation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_invalid_code_language(self):
6161
)
6262

6363
def test_expected_pres(self):
64-
markdown_string = "# title\n---\ntransition: zoom, fade, fade\n# Colors\nColors are everywhere around us.\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nImage(https://raw.githubusercontent.com/jackparmer/gradient-backgrounds/master/moods1.png)\n```python\nx=1\n```\n---\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\nPlotly(https://plot.ly/~AdamKulidjian/3564/)\n---\n"
64+
markdown_string = "# title\n---\ntransition: zoom, fade, fade\n# Colors\nColors are everywhere around us.\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nImage(https://raw.githubusercontent.com/jackparmer/gradient-backgrounds/master/moods1.png)\n```python\nx=1\n```\n---\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\nPlotly(https://plotly.com/~AdamKulidjian/3564/)\n---\n"
6565

6666
my_pres = pres.Presentation(markdown_string, style="moods", imgStretch=True)
6767

0 commit comments

Comments
 (0)