[Libreoffice-commits] core.git: sw/qa
kerem
hallackerem at gmail.com
Tue Dec 13 11:57:15 UTC 2016
sw/qa/python/check_flies.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2fa2e149e4829eb653da7972970e1e3e5ba9983d
Author: kerem <hallackerem at gmail.com>
Date: Sun Dec 11 21:39:57 2016 +0200
tdf#97361 Fixed check_flies.py
Change-Id: I8b2090ea714cd9103e1823d2a48f624e6c54fbe1
Reviewed-on: https://gerrit.libreoffice.org/31873
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sw/qa/python/check_flies.py b/sw/qa/python/check_flies.py
index b73da3c..57fe4db 100644
--- a/sw/qa/python/check_flies.py
+++ b/sw/qa/python/check_flies.py
@@ -69,7 +69,7 @@ class CheckFlies(unittest.TestCase):
xEmbeddedFramesIdx = xEmbeddedFrames
- self.assertEqual(nEmbeddedFrames, xEmbeddedFramesIdx.getCount()) # Unexpected number of embedded frames reported
+ self.assertEqual(nEmbeddedFrames, xEmbeddedFramesIdx.getCount(), "Unexpected number of embedded frames reported")
for nCurrentFrameIdx in range(xEmbeddedFramesIdx.getCount()):
xEmbeddedFramesIdx.getByIndex(nCurrentFrameIdx)
@@ -91,7 +91,7 @@ class CheckFlies(unittest.TestCase):
"Missing expected graphics frames.")
xGraphicFramesIdx = xGraphicFrames
- self.assertEqual(nGraphicFrames, xGraphicFramesIdx.getCount()) # Unexpected number of graphics frames reported
+ self.assertEqual(nGraphicFrames, xGraphicFramesIdx.getCount(), "Unexpected number of graphics frames reported")
for nCurrentFrameIdx in range(xGraphicFramesIdx.getCount()):
xGraphicFramesIdx.getByIndex(nCurrentFrameIdx)
@@ -115,7 +115,7 @@ class CheckFlies(unittest.TestCase):
xTextFramesIdx = xTextFrames
- self.assertEqual(nTextFrames, xTextFrames.getCount()) # Unexpected number of text frames reported
+ self.assertEqual(nTextFrames, xTextFrames.getCount(), "Unexpected number of text frames reported")
for nCurrentFrameIdx in range(xTextFramesIdx.getCount()):
xTextFramesIdx.getByIndex(nCurrentFrameIdx)
More information about the Libreoffice-commits
mailing list