`PluginValidationError`: unknown hook 'pytest_fixture_plus'
See original GitHub issueFrom https://github.com/smarie/python-pytest-cases/issues/71
When the user writes from pytest_cases import pytest_fixture_plus
in his conftest.py
, the symbol is mistakenly thought as being a plugin hook by pytest
, because the symbol name starts with pytest_
.
My question is therefore simple: what is the recommended way to fix this issue in pytest_cases
without renaming the symbol ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
pluggy.manager.PluginValidationError: unknown hook ...
I am facing following issue when calling: pytest --template=html1/index.html --report=reportExecution.html (venv) (base) ➜ HackerNews ...
Read more >Alternative to pytest namespace after upgrade to 3.7.4 - Error
After the successful installation of the above plugins, Somehow the PluginValidationError: unknown hook 'pytest_namespace' in plugin error ...
Read more >How to run unit tests? - Development - PsychoPy Discourse
I have a few ideas for stuff I'd like to contribute. I cloned the github repo and made some changes, but I fail...
Read more >How to use the pluggy.manager.PluginValidationError ... - Snyk
PluginValidationError examples, based on popular ways it is used in public ... raise PluginValidationError( hookimpl.plugin, "unknown hook %r in plugin %r" ...
Read more >pluggy.manager — pytest documentation
You can register plugin objects (which contain hooks) by calling ... raise PluginValidationError( hookimpl.plugin, "unknown hook %r in plugin %r" % (name, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
lets open a pluggy issue for marking something as NOT A HOOK
as long as its also documented that this is a time bomb in the sense that its just waiting for someone to register a hook with that name