Commit 50274d90 authored by David Foucher's avatar David Foucher
Browse files


parent 72ea4fcf
Pipeline #3924 passed with stage
in 1 minute and 34 seconds
......@@ -60,13 +60,13 @@ async def when_remunerate(context):
context.result = result
raise AssertionError(f'No result found')
raise AssertionError('No result found')
@then(r"il y a (?P<expected>\d+) financements? proposés?")
def then_check_count(context, expected):
assert found == int(expected), f'Found {found}'
found = len(context.passed)
assert found == int(expected), f'Found {found}'
@then(r"le financement «(?P<intitule>.+)» n'est pas proposé")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment