Skip to content

Commit

Permalink
fix test step
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Sep 3, 2024
1 parent 69b398c commit e8e3e72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/server/tests/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ async def step_wait_for_server_status_with_timeout(context, expecting_status: Li


@step("the server is {expecting_status}")
@async_run_until_complete
async def step_wait_for_server_status(context, expecting_status: Literal['healthy', 'ready', 'idle', 'busy'] | str):
await wait_for_server_status_with_timeout(context, expecting_status, 30)

Expand Down

0 comments on commit e8e3e72

Please sign in to comment.