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

feat: allow disabling warnings when using brownie test #474

Merged
merged 1 commit into from
May 2, 2020

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Add --disable-warnings flag to brownie test - closes #471

How I did it

Added a pytest_terminal_summary hook point to remove all exceptions when the flag is active.

How to verify it

Try it!

@iamdefinitelyahuman iamdefinitelyahuman merged commit d8cff8e into master May 2, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the disable-warnings branch May 2, 2020 16:11
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

Successfully merging this pull request may close these issues.

Allow suppressing warnings when running tests
1 participant