mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Fix unit test issues with pytest >= 4.0.0.
This commit is contained in:
parent
83f27b57fc
commit
feb5b0b299
2 changed files with 3 additions and 3 deletions
|
@ -130,9 +130,9 @@ def options_argspec_list():
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def options_argspec_dict():
|
||||
def options_argspec_dict(options_argspec_list):
|
||||
# should test ok, for options in dict format.
|
||||
kwargs = options_argspec_list()
|
||||
kwargs = options_argspec_list
|
||||
kwargs['argument_spec']['foobar']['type'] = 'dict'
|
||||
|
||||
return kwargs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue