@then(parsers.re(r'My argument should be (?P<arg>\d+)'))
def assert_that_my_argument_is_arg(argument, arg):
    assert argument['arg'] == arg
Assert that arg from when equals arg.
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/args/regex/test_args.py/assert_that_my_argument_is_arg