I would like to pass a set of named variables to a keyword: Like this:
| | Bypass | environment=${SystemUnderTest} | device=android |
the keyword is defined in python like this:
def Bypass(**kwargs):
print "kwargs", kwargs
This fails with this error message:
Keyword 'agents.Bypass' expected 0 arguments, got ...
but if I change the keyword definition slightly, like this
def Bypass(*args):
print "args", args
the test works and I get this in my log:
INFO args (u'environment=staging', u'device=android')
How can I just pass in my named arguments?