Don't remove the root_dir, the tests suite takes care of that

This commit is contained in:
Pedro Algarvio 2014-06-13 19:30:26 +01:00
parent 7fbc839942
commit 318409a859

View File

@ -47,13 +47,6 @@ class OverstateTestCase(TestCase,
def setUp(self):
self.master_config = master_config(self.get_config_file_path('master'))
for entry in ('root_dir', 'cachedir'):
if not os.path.isdir(self.master_config[entry]):
os.makedirs(self.master_config[entry])
def tearDown(self):
if os.path.isdir(self.master_config['root_dir']):
shutil.rmtree(self.master_config['root_dir'])
@patch('salt.client.LocalClient.cmd')
def test__stage_list(self, local_client_mock):