Fix unit test issues with pytest >= 4.0.0.

This commit is contained in:
Matt Clay 2018-11-14 17:41:15 -08:00
parent 83f27b57fc
commit feb5b0b299
2 changed files with 3 additions and 3 deletions

View file

@ -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