diff options
author | kerem <hallackerem@gmail.com> | 2016-12-11 21:39:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-12-13 11:56:42 +0000 |
commit | 2fa2e149e4829eb653da7972970e1e3e5ba9983d (patch) | |
tree | a3cd98ce38200e56345d3278d9ea67b3e7dd6cfe | |
parent | 657c6cc3acec0528209a8584b838cd6de581c437 (diff) |
tdf#97361 Fixed check_flies.py
Change-Id: I8b2090ea714cd9103e1823d2a48f624e6c54fbe1
Reviewed-on: https://gerrit.libreoffice.org/31873
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/qa/python/check_flies.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/qa/python/check_flies.py b/sw/qa/python/check_flies.py index b73da3c61cd5..57fe4dbd3568 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) |