Fix unittests for funcparser refactor
This commit is contained in:
parent
a3a57314a1
commit
7891987e05
6 changed files with 68 additions and 312 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue