too much burocracy try directly self.assertTrue(os.path.isdir(self.path))