summaryrefslogtreecommitdiff
path: root/uitest/writer_tests1
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-03-16 19:30:30 +0100
committerXisco Faulí <xiscofauli@libreoffice.org>2020-03-16 22:02:39 +0100
commitbc6eb8e096416d42d2308a529d5c0d81778dca60 (patch)
tree635266defa04a89680e4ff147eb837a8b3e25851 /uitest/writer_tests1
parent036820d685c3a76c7fbfe35f47ab7b133e8a55af (diff)
uitest: use hex instead of int for colors
Change-Id: I7309a546546637a1837df8ac99807c2deb22c72a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90589 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'uitest/writer_tests1')
-rw-r--r--uitest/writer_tests1/pageDialog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/uitest/writer_tests1/pageDialog.py b/uitest/writer_tests1/pageDialog.py
index 233c269d891f..73e523444c6e 100644
--- a/uitest/writer_tests1/pageDialog.py
+++ b/uitest/writer_tests1/pageDialog.py
@@ -36,16 +36,16 @@ class WriterPageDialog(UITestCase):
document.StyleFamilies.PageStyles.Standard.BackColor, -1)
elif btn == 'btncolor':
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.BackColor, 7512015)
+ hex(document.StyleFamilies.PageStyles.Standard.BackColor), '0x729fcf')
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.FillColor, 7512015)
+ hex(document.StyleFamilies.PageStyles.Standard.FillColor), '0x729fcf')
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.FillColor, 7512015)
+ hex(document.StyleFamilies.PageStyles.Standard.FillColor), '0x729fcf')
elif btn == 'btngradient':
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillGradient.Style, LINEAR)
self.assertEqual(
- document.StyleFamilies.PageStyles.Standard.FillGradient.StartColor, 14543051)
+ hex(document.StyleFamilies.PageStyles.Standard.FillGradient.StartColor), '0xdde8cb')
self.assertEqual(
document.StyleFamilies.PageStyles.Standard.FillGradient.Angle, 300)
self.assertEqual(