@@ -91,17 +91,17 @@ def is_trivial(obj):
9191
9292
9393def test_get_figure ():
94- un = 'plotlyimagetest '
94+ un = 'PlotlyImageTest '
9595 ak = '786r5mecv0'
9696 file_id = 2
9797 py .sign_in (un , ak )
9898 print ("getting: https://plot.ly/~{0}/{1}/" .format (un , file_id ))
9999 print ("###########################################\n \n " )
100- fig = py .get_figure ('plotlyimagetest ' , str (file_id ))
100+ fig = py .get_figure ('PlotlyImageTest ' , str (file_id ))
101101
102102
103103def test_get_figure_with_url ():
104- un = 'plotlyimagetest '
104+ un = 'PlotlyImageTest '
105105 ak = '786r5mecv0'
106106 url = "https://plot.ly/~PlotlyImageTest/2/"
107107 py .sign_in (un , ak )
@@ -112,7 +112,7 @@ def test_get_figure_with_url():
112112
113113@raises (exceptions .PlotlyError )
114114def test_get_figure_invalid_1 ():
115- un = 'plotlyimagetest '
115+ un = 'PlotlyImageTest '
116116 ak = '786r5mecv0'
117117 url = "https://plot.ly/~PlotlyImageTest/a/"
118118 py .sign_in (un , ak )
@@ -123,7 +123,7 @@ def test_get_figure_invalid_1():
123123
124124@raises (exceptions .PlotlyError )
125125def test_get_figure_invalid_2 ():
126- un = 'plotlyimagetest '
126+ un = 'PlotlyImageTest '
127127 ak = '786r5mecv0'
128128 url = "https://plot.ly/~PlotlyImageTest/-1/"
129129 py .sign_in (un , ak )
@@ -134,7 +134,7 @@ def test_get_figure_invalid_2():
134134
135135@raises (exceptions .PlotlyError )
136136def test_get_figure_does_not_exist ():
137- un = 'plotlyimagetest '
137+ un = 'PlotlyImageTest '
138138 ak = '786r5mecv0'
139139 url = "https://plot.ly/~PlotlyImageTest/1000000000/"
140140 py .sign_in (un , ak )
@@ -144,17 +144,17 @@ def test_get_figure_does_not_exist():
144144
145145
146146def test_get_figure_raw ():
147- un = 'plotlyimagetest '
147+ un = 'PlotlyImageTest '
148148 ak = '786r5mecv0'
149149 file_id = 2
150150 py .sign_in (un , ak )
151151 print ("getting: https://plot.ly/~{0}/{1}/" .format (un , file_id ))
152152 print ("###########################################\n \n " )
153- fig = py .get_figure ('plotlyimagetest ' , str (file_id ), raw = True )
153+ fig = py .get_figure ('PlotlyImageTest ' , str (file_id ), raw = True )
154154
155155
156156def test_all ():
157- un = 'plotlyimagetest '
157+ un = 'PlotlyImageTest '
158158 ak = '786r5mecv0'
159159 run_test = False
160160 end_file = 2
@@ -173,8 +173,8 @@ def test_all():
173173 try :
174174 print ("testing: https://plot.ly/~{0}/{1}" .format (un , file_id ))
175175 print ("###########################################\n \n " )
176- fig = py .get_figure ('plotlyimagetest ' , str (file_id ))
177- fig_raw = py .get_figure ('plotlyimagetest ' ,
176+ fig = py .get_figure ('PlotlyImageTest ' , str (file_id ))
177+ fig_raw = py .get_figure ('PlotlyImageTest ' ,
178178 str (file_id ),
179179 raw = True )
180180 except exceptions .PlotlyError :
0 commit comments