Skip to content

Add --sckan-version pytest option and fix option handling #61

@napakalas

Description

@napakalas

Added a --sckan-version pytest option so tests are no longer tied to a fixed SCKAN version. The option was originally placed in test_nerves.py, causing pytest to error (“unrecognized arguments”) because options must be defined before test modules load.
Moved pytest_addoption and the fixture to tests/conftest.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions