mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
fix jenkins f8 error
This commit is contained in:
parent
61f4352a97
commit
58392009fc
@ -45,6 +45,7 @@ def test_disable_post_on_v2_jobs_list(version, supports_post):
|
||||
with mock.patch('awx.api.views.get_request_version', return_value=version):
|
||||
assert ('POST' in job_list.allowed_methods) == supports_post
|
||||
|
||||
|
||||
@pytest.mark.parametrize('version, supports_post', [(1, False), (2, True)])
|
||||
def test_disable_post_on_v1_inventory_source_list(version, supports_post):
|
||||
inv_source_list = InventorySourceList()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user