mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Set file_roots for Windows Temp
This commit is contained in:
parent
fae46649e4
commit
cdb53c2657
@ -165,8 +165,8 @@ class RootsTest(TestCase, AdaptedConfigurationTestCaseMixin, LoaderModuleMockMix
|
||||
self.assertIn('empty_dir', ret)
|
||||
|
||||
def test_symlink_list(self):
|
||||
file_roots = self.test_symlink_list_file_roots \
|
||||
or self.opts['file_roots']
|
||||
if self.test_symlink_list_file_roots:
|
||||
self.opts['file_roots'] = self.test_symlink_list_file_roots
|
||||
ret = roots.symlink_list({'saltenv': 'base'})
|
||||
self.assertDictEqual(ret, {'dest_sym': 'source_sym'})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user