mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Don't remove the root_dir, the tests suite takes care of that
This commit is contained in:
parent
7fbc839942
commit
318409a859
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user