mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
fix unit test
This commit is contained in:
parent
2ec47737bb
commit
e69f6726d0
@ -77,7 +77,7 @@ def test_net_cred_ssh_agent(mocker, get_ssh_version):
|
||||
mocker.patch.object(run_job, 'post_run_hook', return_value=None)
|
||||
|
||||
run_job.run(mock_job.id)
|
||||
assert run_job.update_model.call_count == 3
|
||||
assert run_job.update_model.call_count == 4
|
||||
|
||||
job_args = run_job.update_model.call_args_list[1][1].get('job_args')
|
||||
assert 'ssh-add' in job_args
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user