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

Clean up pytest code. #14

Open
crkrenn opened this issue Oct 26, 2021 · 0 comments
Open

Clean up pytest code. #14

crkrenn opened this issue Oct 26, 2021 · 0 comments

Comments

@crkrenn
Copy link
Collaborator

crkrenn commented Oct 26, 2021

You can add an argument to assertTrue which will be printed if the test fails, this can be useful when using a helper function to test multiple things.

Originally posted by @daub1 in #6 (comment)

If I have time, I will look into pytest.parametrize. https://docs.pytest.org/en/stable/parametrize.html

Reply…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant