Comment 3 for bug 1010379

Revision history for this message
Mariusz Jamro (mariusz-jamro) wrote :

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.