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:
rallytime 2018-10-29 10:23:00 -04:00
parent e8b3a62b31
commit 3d95673be0
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -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': ''}},
]