get rid of decorator dependency

This commit is contained in:
AlanCoding
2018-10-30 11:54:36 -04:00
parent 92f0893764
commit d8d710a83d
4 changed files with 29 additions and 31 deletions

View File

@@ -154,12 +154,11 @@ def test_memoize_delete(memoized_function, mock_cache):
def test_memoize_parameter_error():
@common.memoize(cache_key='foo', track_function=True)
def fn():
return
with pytest.raises(common.IllegalArgumentError):
fn()
@common.memoize(cache_key='foo', track_function=True)
def fn():
return
def test_extract_ansible_vars():