I started using the plugin and realized the plugin name is wrong.
the way I use in pyproject is:
required_plugins = [
"pytest-cov",
"pytest-env",
"pytest_httpserver",
"smtpdfix"
# "pytest-smtpd",
# "xdoctest",
]
I installed the dependency with pip and checked the actual plugin name with this command:
pytest --trace-config
PLUGIN registered: <module 'smtpdfix.fixture' from 'C:\Users\....\venv\Lib\site-packages\smtpdfix\fixture.py'>
Then I changed to smtpdfix and it started working, and the type of the fixture is: AuthController
Guess it's only a misunderstand.
Thank you for your work.
I started using the plugin and realized the plugin name is wrong.
the way I use in pyproject is:
I installed the dependency with pip and checked the actual plugin name with this command:
pytest --trace-config
PLUGIN registered: <module 'smtpdfix.fixture' from 'C:\Users\....\venv\Lib\site-packages\smtpdfix\fixture.py'>
Then I changed to smtpdfix and it started working, and the type of the fixture is: AuthController
Guess it's only a misunderstand.
Thank you for your work.