-
Notifications
You must be signed in to change notification settings - Fork 124
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
Prove that PluginManger.register()
ignores non-routines
#97
Prove that PluginManger.register()
ignores non-routines
#97
Conversation
3fadbbf
to
5f52422
Compare
when registering a module which imports it. | ||
""" | ||
pm._implprefix = 'example' | ||
conftest = types.ModuleType("conftest") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For completeness, I would add an example_
function to one of the modules and ensure that it is collected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Heh, and found a bug from the _Multicall
refactor.. shocker we've got no tests for the undecorated hook collection stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
5f52422
to
3fa0ab4
Compare
Hopefully the use of |
3fa0ab4
to
196229b
Compare
This proves that pytest-dev#91 is a problem in `pytest` and not `pluggy`. Thanks to @RonnyPfannschmidt for the fix about a year ago ;)
196229b
to
8ce9161
Compare
This proves that #91 is a problem in
pytest
and notpluggy
.Thanks to @RonnyPfannschmidt for the fix about a year ago ;)