Fix unittests for funcparser refactor

This commit is contained in:
Griatch 2021-03-26 23:37:21 +01:00
parent a3a57314a1
commit 7891987e05
6 changed files with 68 additions and 312 deletions

View file

@ -44,7 +44,8 @@ def protfunc_callable_protkey(*args, **kwargs):
return ""
prototype = kwargs.get("prototype", {})
return prototype[args[0].strip()]
prot_value = prototype[args[0]]
return funcparser.funcparser_callable_eval(prot_value, **kwargs)
# this is picked up by FuncParser