def test_cells_charts_post_worksheet_chart_title(self): """ Test case for cells_charts_post_worksheet_chart_title Update chart title """ name = 'myDocument.xlsx' sheet_name = 'Sheet3' chartIndex = 0 title = Title() title.text = "test" folder = "Temp" AuthUtil.Ready(name, folder) result = self.api.cells_charts_post_worksheet_chart_title( name, sheet_name, chartIndex, title=title, folder=folder) pass
def test_cells_charts_post_worksheet_chart_title(self): """ Test case for cells_charts_post_worksheet_chart_title Update chart title """ name = 'myDocument.xlsx' sheet_name = 'Sheet3' chartIndex = 0 title = Title() title.text = "test" folder = "PythonTest" result = AuthUtil.Ready(self.api, name, folder) self.assertTrue(len(result.uploaded) > 0) result = self.api.cells_charts_post_worksheet_chart_title( name, sheet_name, chartIndex, title=title, folder=folder) self.assertEqual(result.code, 200) pass