Skip to content

Only works with function scoped fixture #15

Description

@parisni

this does not work apparently:

@pytest.fixture(scope="session")
def test_foo(resource_path_root):
     pass
ScopeMismatch: You tried to access the 'function' scoped fixture 'resource_path_root' with a 'session' scoped request object, involved factories

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