Skip to content

Wrong plugin name using with pyproject.toml #15

Description

@mesias

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions