

@then(parsers.re('My argument should be (?P<arg>\\d+)'))
def assert_that_my_argument_is_arg(argument, arg):
    'Assert that arg from when equals arg.'
    assert (argument['arg'] == arg)

dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/args/regex/test_args.py assert_that_my_argument_is_arg/original