def tearDown(self):
     MockedEnv.stopall()
     shutil.rmtree(self.temp_dir, ignore_errors=True)
 def tearDownClass(cls):
     MockedEnv.stopall()