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

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 23 16:11:24 UTC 2021


 sw/qa/uitest/writer_tests7/tdf143244.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 12a184c3fd96a4f64f5926e78a0da321f71c3d07
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Fri Jul 23 14:10:57 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri Jul 23 18:10:51 2021 +0200

    uitest: sw: Add comment about how the test would have failed
    
    Change-Id: I249f3f3672c2770b516d704b74146ea017af528a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119409
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/sw/qa/uitest/writer_tests7/tdf143244.py b/sw/qa/uitest/writer_tests7/tdf143244.py
index a47074396334..20c70d6cd0d6 100644
--- a/sw/qa/uitest/writer_tests7/tdf143244.py
+++ b/sw/qa/uitest/writer_tests7/tdf143244.py
@@ -38,6 +38,8 @@ class tdf143244(UITestCase):
                     if i == 0:
                         self.assertEqual(get_state_as_dict(hex_custom)["Text"], "bee3d3")
                     if i == 1:
+                        # Without the fix in place, this test would have failed with
+                        # AssertionError: 'bee3d3' != 'ffffff'
                         self.assertEqual(get_state_as_dict(hex_custom)["Text"], "ffffff")
                     if i == 2:
                         self.assertEqual(get_state_as_dict(hex_custom)["Text"], "dddddd")


More information about the Libreoffice-commits mailing list