mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Lint fix
This commit is contained in:
parent
4f7ac1431e
commit
96259d6c63
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class SSHAuthKeyTestCase(TestCase):
|
|||
|
||||
with patch.dict(ssh.__salt__, {'user.info': MagicMock(return_value={})}):
|
||||
with patch('salt.modules.ssh._get_config_file', MagicMock(return_value=temp_file.name)):
|
||||
ret = ssh._replace_auth_key('foo', key, enc=enc, comment=email, options=options, config=temp_file.name)
|
||||
ssh._replace_auth_key('foo', key, enc=enc, comment=email, options=options, config=temp_file.name)
|
||||
|
||||
# Assert that the new line was added as-is to the file
|
||||
with salt.utils.fopen(temp_file.name) as _fh:
|
||||
|
|
Loading…
Add table
Reference in a new issue