Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (26 sloc) 738 Bytes
import unittest
from paramunittest import parametrized, ParametrizedTestCase
@parametrized((1, ), (2, ))
@unittest.skipIf(True, "Should skip it.")
class TestSkipLast(ParametrizedTestCase):
'''Test set and dict comprehension code blocks.'''
def setParameters(self, value):
self.value = value
def testFalse(self):
self.fail()
@unittest.skip("Always fails!")
@parametrized(
(0, ),
(1, ),
(2, ),
)
class TestSkipFirst(ParametrizedTestCase):
def setParameters(self, value):
self.value = value
def testFalse(self):
self.fail()
# TODO: Fix it because it is broken!
@parametrized((1,))
@unittest.skipIf(True, "Should skip it.")
class TestSkipSubclass(TestSkipLast):
pass