Skip to content

Can't use with pytest-django and pytest-dotenv #51

Open
@mihalt

Description

@mihalt

Hi! I am using pytest-dotenv, but it installs python-doenv by default and can't work without it. So, I have error when run django AttributeError: module 'dotenv' has no attribute 'read_dotenv'. Did you mean: 'load_dotenv'?. When run tests, all is fine.

What could you offer to prevent it?

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