Skip to content
Permalink
Browse files

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.
  • Loading branch information...
rallytime committed Oct 29, 2018
1 parent e8b3a62 commit 3d95673be02149ffc912516ede1ff46c62ab958d
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/client/test_ssh.py
@@ -48,7 +48,7 @@ def test_password_failure(self):
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': ''}},
]

0 comments on commit 3d95673

Please sign in to comment.
You can’t perform that action at this time.