Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 939b73f

Browse files
committed
added 'single' get_figure test.
1 parent 3e1cdd6 commit 939b73f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

plotly/tests/test_get_figure/test_get_figure.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ def is_trivial(obj):
8989
return False
9090

9191

92+
def test_get_figure():
93+
un = 'plotlyimagetest'
94+
ak = '786r5mecv0'
95+
run_test = False
96+
file_id = 2
97+
py.sign_in(un, ak)
98+
print "getting: https://plot.ly/{}/{}".format(un, file_id)
99+
print "###########################################\n\n"
100+
fig = py.get_figure('plotlyimagetest', str(file_id))
101+
102+
92103
def test_all():
93104
un = 'plotlyimagetest'
94105
ak = '786r5mecv0'

0 commit comments

Comments
 (0)