Merge pull request #2547 from AlanCoding/decorator

Get rid of decorator dependency

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2018-11-01 20:39:30 +00:00
committed by GitHub
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():