@then(parsers.re(r'I should have (?P<euro>\d+) Euro'), converters=dict(euro=int))
def i_should_have(euro, values):
    assert euro == values.pop(0)


# test backwards compartibility
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/args/regex/test_args.py/i_should_have/original