mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
Fix unit test issues with pytest >= 4.0.0.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user