Skip to content
Permalink
Browse files

TestCase and expectedFailure must both come from the same unittest

  • Loading branch information
blazek committed Sep 26, 2012
1 parent 965342d commit 126b897b4075ae0bb9b041acfafafcc7294ee968
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgscomposition.py
@@ -39,13 +39,13 @@
print "You need to install unittest2 to run the salt tests"
sys.exit(1)
else:
from unittest import expectedFailure
from unittest import TestCase, expectedFailure

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


class TestQgsComposition(unittest.TestCase):
class TestQgsComposition(TestCase):

def setUp(self):
"""Run before each test."""

0 comments on commit 126b897

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