Sha256: 40ea9f996ef702890176f32b5783f6cd81173d983e8148f0079ce9665c7e8e45
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
# -- REQUIRES: Python >= 3.4 from behave import step from behave.api.async_step import async_run_until_complete import asyncio @step('an async-step waits {duration:f} seconds') @async_run_until_complete @asyncio.coroutine def step_async_step_waits_seconds_py34(context, duration): yield from asyncio.sleep(duration)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
busser-behave-0.1.3 | vendor/behave/examples/async_step/features/steps/async_steps34.py |