mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove superfluous quotes
This commit is contained in:
parent
6149db7c3a
commit
dc6390e58a
1 changed files with 3 additions and 3 deletions
|
@ -29,16 +29,16 @@ def test_present():
|
|||
ssh_auth.__salt__, {"ssh.check_key": mock, "ssh.set_auth_key": mock_data}
|
||||
):
|
||||
with patch.dict(ssh_auth.__opts__, {"test": True}):
|
||||
comt = "The authorized host key sshkeys is already " "present for user root"
|
||||
comt = "The authorized host key sshkeys is already present for user root"
|
||||
ret.update({"comment": comt})
|
||||
assert ssh_auth.present(name, user, source) == ret
|
||||
|
||||
with patch.dict(ssh_auth.__opts__, {"test": False}):
|
||||
comt = "The authorized host key sshkeys " "for user root was updated"
|
||||
comt = "The authorized host key sshkeys for user root was updated"
|
||||
ret.update({"comment": comt, "changes": {name: "Updated"}})
|
||||
assert ssh_auth.present(name, user, source) == ret
|
||||
|
||||
comt = "The authorized host key sshkeys " "for user root was added"
|
||||
comt = "The authorized host key sshkeys for user root was added"
|
||||
ret.update({"comment": comt, "changes": {name: "New"}})
|
||||
assert ssh_auth.present(name, user, source) == ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue