[Libreoffice-commits] core.git: sw/qa

Ilmari Lauhakangas (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 2 12:06:15 UTC 2021


 sw/qa/uitest/writer_tests4/spellDialog.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 494fb41ff71e06557293adaf2b5e064ab8c0aef5
Author:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
AuthorDate: Mon Feb 1 14:54:44 2021 +0200
Commit:     László Németh <nemeth at numbertext.org>
CommitDate: Tue Feb 2 13:05:29 2021 +0100

    sw: Check for supported locale in test_tdf66043 (spelling)
    
    similar to test_tdf46852().
    
    Change-Id: I10aada93415231a97d44413c1374d42534bb7371
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110253
    Tested-by: László Németh <nemeth at numbertext.org>
    Reviewed-by: László Németh <nemeth at numbertext.org>

diff --git a/sw/qa/uitest/writer_tests4/spellDialog.py b/sw/qa/uitest/writer_tests4/spellDialog.py
index 635a9abfb5e7..ca08f7ee488d 100644
--- a/sw/qa/uitest/writer_tests4/spellDialog.py
+++ b/sw/qa/uitest/writer_tests4/spellDialog.py
@@ -100,6 +100,9 @@ frog, dogg, catt"""
         self.assertTrue(re.match(self.TDF46852_REGEX, output_text))
 
     def test_tdf66043(self):
+        supported_locale = self.is_supported_locale("en", "US")
+        if not supported_locale:
+            self.skipTest("no dictionary support for en_US available")
         writer_doc = self.ui_test.load_file(get_url_for_data_file("tdf66043.fodt"))
         document = self.ui_test.get_component()
         # Step 1: Initiate spellchecking, and make sure "Check grammar" is


More information about the Libreoffice-commits mailing list