summaryrefslogtreecommitdiff
path: root/sw/qa/python
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-18 13:51:44 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-18 14:01:06 +0100
commitbcf7ab3e13ac276ef42fa96af0755795c5f88c4a (patch)
treef146c3623f9f3693e7f173232806de9b6bc4e47b /sw/qa/python
parent61085083e4a5060ba7e2135818264d63c6da13c2 (diff)
Change-Id: Icd3cf90bf617c9c77dcf9cbda705bf348f980fb3
Diffstat (limited to 'sw/qa/python')
-rw-r--r--sw/qa/python/check_cross_references.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/python/check_cross_references.py b/sw/qa/python/check_cross_references.py
index da6006eb79bf..5ec1bc8639f0 100644
--- a/sw/qa/python/check_cross_references.py
+++ b/sw/qa/python/check_cross_references.py
@@ -75,7 +75,7 @@ class CheckCrossReferences(unittest.TestCase):
def getFieldProps(self,xField):
xProps = xField
- self.assertTrue("Cannot retrieve field properties.", xProps)
+ self.assertTrue(xProps, "Cannot retrieve field properties.")
return xProps
def checkField(self, xField , xProps, nFormat, aExpectedFieldResult ):
@@ -222,7 +222,7 @@ class CheckCrossReferences(unittest.TestCase):
#check inserted reference field
xField = xNewField
- self.assertTrue("J", xField.getPresentation(False)) #inserted reference field doesn't has correct field result
+ self.assertEqual("J", xField.getPresentation(False)) #inserted reference field doesn't has correct field result
xParaTextRange.getStart().setString( "Hallo new bookmark: ")
self.xFieldsRefresh.refresh()