diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-18 13:51:44 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-18 14:01:06 +0100 |
commit | bcf7ab3e13ac276ef42fa96af0755795c5f88c4a (patch) | |
tree | f146c3623f9f3693e7f173232806de9b6bc4e47b /sw/qa/python | |
parent | 61085083e4a5060ba7e2135818264d63c6da13c2 (diff) |
fix some issues with 214b0c8356ab88e75cb4bbc2ad3109ee536dcd70
Change-Id: Icd3cf90bf617c9c77dcf9cbda705bf348f980fb3
Diffstat (limited to 'sw/qa/python')
-rw-r--r-- | sw/qa/python/check_cross_references.py | 4 |
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() |