pytest_wdl/fixtures.py
def workflow_data(
    request: FixtureRequest, workflow_data_resolver: DataResolver
) -> DataManager:
    """
    Provides an accessor for test data files, which may be local or in a remote
    repository.

    Args:
        request: FixtureRequest object
        workflow_data_resolver: Module-level test data configuration

    Examples:
        def workflow_data_descriptor_file():
            return "tests/test_data.json"

        def test_workflow(workflow_data):
            print(workflow_data["myfile"])
    """
    data_dirs = DataDirs(
        ensure_path(request.fspath.dirpath(), canonicalize=True),
        request.module,
        request.function,
        request.cls,
    )
    return DataManager(workflow_data_resolver, data_dirs)

    Provides an accessor for test data files, which may be local or in a remote
    repository.

    Args:
        request: FixtureRequest object
        workflow_data_resolver: Module-level test data configuration

    Examples:
        def workflow_data_descriptor_file():
            return "tests/test_data.json"

        def test_workflow(workflow_data):
            print(workflow_data["myfile"])
    
Provides an accessor for test data files, which may be local or in a remote
repository.
Provides an accessor for test data files which may be local or in a remote repository .
def workflow_data(
    request: FixtureRequest, workflow_data_resolver: DataResolver
) -> DataManager:
    data_dirs = DataDirs(
        ensure_path(request.fspath.dirpath(), canonicalize=True),
        request.module,
        request.function,
        request.cls,
    )
    return DataManager(workflow_data_resolver, data_dirs)
def workflow_data ( request : FixtureRequest , workflow_data_resolver : DataResolver ) -> DataManager : data_dirs = DataDirs ( ensure_path ( request . fspath . dirpath ( ) , canonicalize = True ) , request . module , request . function , request . cls , ) return DataManager ( workflow_data_resolver , data_dirs )
Provides an accessor for test data files, which may be local or in a remote
repository.
Provides an accessor for test data files which may be local or in a remote repository .
"""
    Provides an accessor for test data files, which may be local or in a remote
    repository.

    Args:
        request: FixtureRequest object
        workflow_data_resolver: Module-level test data configuration

    Examples:
        def workflow_data_descriptor_file():
            return "tests/test_data.json"

        def test_workflow(workflow_data):
            print(workflow_data["myfile"])
    """
request
FixtureRequest
None
workflow_data_resolver
DataResolver
Module-level test data configuration
Module - level test data configuration
examples
def workflow_data_descriptor_file():
return "tests/test_data.json"

def test_workflow(workflow_data):
print(workflow_data["myfile"])
def workflow_data_descriptor_file () : return " tests / test_data . json " def test_workflow ( workflow_data ) : print ( workflow_data [ " myfile " ] )