mirror of
https://github.com/ansible/awx.git
synced 2026-04-07 02:59:21 -02:30
Pytest fixture adjustment.
This commit is contained in:
@@ -34,7 +34,8 @@ def project_update(mocker):
|
|||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def job(mocker, job_template, project_update):
|
def job(mocker, job_template, project_update):
|
||||||
return mocker.MagicMock(pk=5, job_template=job_template, project_update=project_update)
|
return mocker.MagicMock(pk=5, job_template=job_template, project_update=project_update,
|
||||||
|
workflow_job_id=None)
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|||||||
Reference in New Issue
Block a user