mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 19:29:11 -04:00
separate get_job and get_jobs in job_api_client
also remove the status parameter, as we never use it anywhere
This commit is contained in:
@@ -923,7 +923,7 @@ def mock_get_jobs(mocker, api_user_active):
|
||||
)
|
||||
]}
|
||||
|
||||
return mocker.patch('app.job_api_client.get_job', side_effect=_get_jobs)
|
||||
return mocker.patch('app.job_api_client.get_jobs', side_effect=_get_jobs)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
|
||||
Reference in New Issue
Block a user