diff options
Diffstat (limited to 'sc/qa/uitest/chart/chartLegend.py')
-rw-r--r-- | sc/qa/uitest/chart/chartLegend.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/uitest/chart/chartLegend.py b/sc/qa/uitest/chart/chartLegend.py index 0e7727b6b854..54929c5c6c30 100644 --- a/sc/qa/uitest/chart/chartLegend.py +++ b/sc/qa/uitest/chart/chartLegend.py @@ -17,7 +17,7 @@ from uitest.uihelper import guarded class chartLegend(UITestCase): def test_chart_display_legend_dialog(self): - with guarded.load_file(self, get_url_for_data_file("tdf98390.ods")) as calc_doc: + with self.ui_test.load_file(get_url_for_data_file("tdf98390.ods")) as calc_doc: xCalcDoc = self.xUITest.getTopFocusWindow() gridwin = xCalcDoc.getChild("grid_window") document = self.ui_test.get_component() @@ -77,7 +77,7 @@ class chartLegend(UITestCase): def test_legends_move_with_arrows_keys(self): - with guarded.load_file(self, get_url_for_data_file("dataLabels.ods")) as calc_doc: + with self.ui_test.load_file(get_url_for_data_file("dataLabels.ods")) as calc_doc: xCalcDoc = self.xUITest.getTopFocusWindow() gridwin = xCalcDoc.getChild("grid_window") |