mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Reformat everything.
This commit is contained in:
@@ -12,7 +12,10 @@ from ansible_collections.community.general.plugins.lookup.onepassword import One
|
||||
@pytest.fixture
|
||||
def fake_op(mocker):
|
||||
def _fake_op(version):
|
||||
mocker.patch("ansible_collections.community.general.plugins.lookup.onepassword.OnePassCLIBase.get_current_version", return_value=version)
|
||||
mocker.patch(
|
||||
"ansible_collections.community.general.plugins.lookup.onepassword.OnePassCLIBase.get_current_version",
|
||||
return_value=version,
|
||||
)
|
||||
op = OnePass()
|
||||
op._config._config_file_path = "/home/jin/.op/config"
|
||||
mocker.patch.object(op._cli, "_run")
|
||||
|
||||
Reference in New Issue
Block a user