Skip to content
Permalink
Browse files

Mark composer html multiframe test as expected to fail for now

  • Loading branch information
timlinux committed Sep 24, 2012
1 parent 5f79bcb commit 1dc93021f2a2774302b8d705462252d1d16897e3
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/src/python/test_qgscomposerhtml.py
@@ -27,10 +27,21 @@
QgsComposerMultiFrame)

from qgscompositionchecker import QgsCompositionChecker
# support python < 2.7 via unittest2
# needed for expected failure decorator
if sys.version_info[0:2] < (2,7):
try:
from unittest2 import TestCase, expectedFailure
except ImportError:
print "You need to install unittest2 to run the salt tests"
sys.exit(1)
else:
from unittest import TestCase, expectedFailure

QGISAPP, CANVAS, IFACE, PARENT = getQgisTestApp()
TEST_DATA_DIR = unitTestDataPath()


class TestQgsComposerMap(unittest.TestCase):

def setUp(self):
@@ -73,6 +84,7 @@ def testTable(self):
qDebug(myMessage)
assert myResult, myMessage

@expectedFailure
def testTableMultiFrame(self):
"""Test we can render to multiframes."""
composerHtml = QgsComposerHtml(self.mComposition, False)

0 comments on commit 1dc9302

Please sign in to comment.
You can’t perform that action at this time.