Skip to content

Question: Why don't use base_url param value from pytest.ini when running with pytest-xdist? #34

@grandfa8

Description

@grandfa8

Hi,
Thats not critical issue for me but it still interest.
Why we don't read base_url param value from pytest.ini when run tests with pytest-xdist plugin?
I try replace line https://github.com/pytest-dev/pytest-base-url/blob/master/src/pytest_base_url/plugin.py#L14
by
base_url = config.getoption("base_url") or config.getini("base_url") and this worked for me

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