lisa.fuzz.retry_until#
- lisa.fuzz.retry_until(cond)[source]#
Returns an awaitable that will signify to the
lisa.fuzz.Genmonad to retry the computation untilcondisTrue. This is used to enforce arbitrary constraints on generated data.Note
If possible, it’s a better idea to generate the data in a way that satisfy the constraints, as retrying can happen an arbitrary number of time and thus become quite costly.