test_tdf159102_smart_justify_with_automatic_hyphenation and es_ES hyphenation

Rene Engelhard rene at debian.org
Fri May 10 15:34:55 UTC 2024


Hi,

while writing my other mail and doing the mentioned patch I noticed I 
never actually forwarded the
test_tdf159102_smart_justify_with_automatic_hyphenation failure.

That test does

     def test_tdf159102_smart_justify_with_automatic_hyphenation(self):
         supported_locale = self.is_supported_locale("en", "US")
         if not supported_locale:
             self.skipTest("no hyphenation patterns for en_US available")

initally and says

             # we must not depend on the installed hyphenation patterns,
             # so extend user dictionary temporarily with the 
hyphenation cur=sus and ege=stas

later on

which apparently didn't work. When I open the test document LO suggests 
me to actually install es hyphenation, and after installing that 
hyphen-es that made the test pass.

Actually in the meanwhile

commit 1b83ebf42c535528b73baac2407b347f19070d07
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Jan 25 13:53:26 2024 +0200

     disabling UITest tdf159102

     because it still fails on my machine reliably

     Change-Id: I482b8235cd910ff16b1b15bb0427c5d6a8140751
     Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162567
     Tested-by: Jenkins
     Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

happened, disabling the actual test after the above-mentioned if.

Regards,

Rene


More information about the LibreOffice mailing list