From 2fa2e149e4829eb653da7972970e1e3e5ba9983d Mon Sep 17 00:00:00 2001 From: kerem Date: Sun, 11 Dec 2016 21:39:57 +0200 Subject: tdf#97361 Fixed check_flies.py Change-Id: I8b2090ea714cd9103e1823d2a48f624e6c54fbe1 Reviewed-on: https://gerrit.libreoffice.org/31873 Tested-by: Jenkins Reviewed-by: Michael Stahl --- sw/qa/python/check_flies.py | 6 +++--- 1 file 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) -- cgit