mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use get_config_dir() instead of self.config_dir
This attribute does not exist in the 2018.3 branch. Use the function for now, and then change this back on the merge-forward.
This commit is contained in:
parent
e8b3a62b31
commit
3d95673be0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class SSHPasswordTests(ShellCase):
|
|||
opts['selected_target_option'] = 'glob'
|
||||
opts['tgt'] = 'localhost'
|
||||
opts['arg'] = []
|
||||
roster = os.path.join(self.config_dir, 'roster')
|
||||
roster = os.path.join(self.get_config_dir(), 'roster')
|
||||
handle_ssh_ret = [
|
||||
{'localhost': {'retcode': 255, 'stderr': u'Permission denied (publickey).\r\n', 'stdout': ''}},
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue