Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to wait for an assertion to pass #11

Closed
rockem opened this issue Dec 22, 2019 · 3 comments
Closed

Allow to wait for an assertion to pass #11

rockem opened this issue Dec 22, 2019 · 3 comments
Assignees
Labels
0.5.0 enhancement New feature or request

Comments

@rockem
Copy link
Owner

rockem commented Dec 22, 2019

No description provided.

@rockem rockem added the enhancement New feature or request label Dec 22, 2019
@rockem
Copy link
Owner Author

rockem commented Dec 29, 2019

Example:
wait().until_asserted(lambda: assert num_of_users == 2)

@innadav
Copy link

innadav commented Dec 29, 2019

I will do it @rockem

@rockem rockem self-assigned this Sep 2, 2021
rockem added a commit that referenced this issue Sep 27, 2021
* Basic until_asserted functionality
* Added async support for until_asserted
* Added assert section to the docs
@rockem
Copy link
Owner Author

rockem commented Sep 27, 2021

Implemented

@rockem rockem closed this as completed Sep 27, 2021
@rockem rockem added the 0.5.0 label Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.5.0 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants