-
Notifications
You must be signed in to change notification settings - Fork 1
Ignore some warnings and/or fix issue with @property #257
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
Comments
Thanks for the report! There's definitely a bug with In the mean time, you can use Pytest's warning filtering system to ignore this warning in your tests. See Decoy's warnings docs for more details
😍 Feel free to spread the word! |
I released decoy 2.1.2, which makes the situation better, but |
How to ignore some warnings? For example
MissingSpecAttributeWarning
The problem, is that
decoy
see a missing spec when using@property
on a class. But the stubbing / verify work perfectly.Example:
Short term, how to ignore the warning so it does not pollute the pytest log?
Long term: is it possible to fix the
@property
issue?Thanks!
BTW, this library is awesome. It clearly do not have enough stars
The text was updated successfully, but these errors were encountered: