mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-11 02:25:36 +00:00
test(onepassword_info): fix pylint disallowed-name for _ variable
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7edfbe5562
commit
71786e9b70
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ def test_get_token_signin(mocker, capfd):
|
|||
with pytest.raises(SystemExit):
|
||||
onepassword_info.main()
|
||||
|
||||
out, _ = capfd.readouterr()
|
||||
out, dummy = capfd.readouterr()
|
||||
result = json.loads(out)
|
||||
assert not result.get("failed"), result.get("msg")
|
||||
assert result["onepassword"]["My Item"]["password"] == "secret123"
|
||||
|
|
@ -130,7 +130,7 @@ def test_full_login(mocker, capfd):
|
|||
with pytest.raises(SystemExit):
|
||||
onepassword_info.main()
|
||||
|
||||
out, _ = capfd.readouterr()
|
||||
out, dummy = capfd.readouterr()
|
||||
result = json.loads(out)
|
||||
assert not result.get("failed"), result.get("msg")
|
||||
assert result["onepassword"]["My Item"]["password"] == "secret123"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue