The same happens if the test is skipped by raising SkipTest in setUp
class SkipTestCase(testresources.ResourcedTestCase): resources = [TEST_RESOURCE]
def setUp(self): raise SkipTest("Skip")
def test(self): pass
The TEST_RESOUCE will be made but won't be cleared.
The same happens if the test is skipped by raising SkipTest in setUp
class SkipTestCase( testresources. ResourcedTestCa se):
resources = [TEST_RESOURCE]
def setUp(self):
raise SkipTest("Skip")
def test(self):
pass
The TEST_RESOUCE will be made but won't be cleared.