summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/table/tdf53460.py
diff options
context:
space:
mode:
authorChenxiong Qi <qcxhome@gmail.com>2023-12-20 20:54:05 +0800
committerHossein <hossein@libreoffice.org>2024-01-23 14:00:46 +0100
commit74de0ebb810f3e13c45f01c63067cb8de794ce3c (patch)
treeb5f069ad74d12b5ce095b4ad9159861fd1445614 /sw/qa/uitest/table/tdf53460.py
parent3a20c691ab1d6a16ad0fc144926b22c098552be4 (diff)
tdf#97361 Make unittests more pythonic: XIndexAccess
Change-Id: I05ef274dd0ad5dc35b5455cfc01feabc6c0820a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161276 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'sw/qa/uitest/table/tdf53460.py')
-rw-r--r--sw/qa/uitest/table/tdf53460.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/table/tdf53460.py b/sw/qa/uitest/table/tdf53460.py
index b0e8fcabaaf1..866dcaaddfbc 100644
--- a/sw/qa/uitest/table/tdf53460.py
+++ b/sw/qa/uitest/table/tdf53460.py
@@ -70,5 +70,5 @@ class tdf53460(UITestCase):
xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "ALT+RIGHT"}))
xWriterEdit.executeAction("TYPE", mkPropertyValues({"KEYCODE": "ALT+LEFT"}))
- self.assertEqual(document.TextTables.getCount(), 2)
+ self.assertEqual(len(document.TextTables), 2)
# vim: set shiftwidth=4 softtabstop=4 expandtab: