diff options
Diffstat (limited to 'sw/qa/uitest/writer_tests5/tdf106899.py')
-rw-r--r-- | sw/qa/uitest/writer_tests5/tdf106899.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/writer_tests5/tdf106899.py b/sw/qa/uitest/writer_tests5/tdf106899.py index 3a81913e96ac..38f2b715104b 100644 --- a/sw/qa/uitest/writer_tests5/tdf106899.py +++ b/sw/qa/uitest/writer_tests5/tdf106899.py @@ -20,7 +20,7 @@ class tdf106899(UITestCase): # Update the alphabetical index and check if it contains the utf8 index entry xDocumentIndexes = document.DocumentIndexes - self.assertEqual(xDocumentIndexes.getCount(), 1) + self.assertEqual(len(xDocumentIndexes), 1) self.assertEqual(xDocumentIndexes.hasByName("Alphabetical Index1"), True) xDocumentIndex = xDocumentIndexes.getByName("Alphabetical Index1") xIndexAnchor = xDocumentIndex.getAnchor() |