Skip to content

Passing ENVIRONMENT doesn't work during discovery #56

@miklelappo

Description

@miklelappo

It seems that ENVIRONMENT settings passed into pytest_discover_tests only make difference during tests execution.
During discovery they seem to have no effect and though tests parametrized via env are discovered in a form 4/213 Test #4: XXX_e2e.test_add[token].

I didn't find an easy workaround for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions