Skip to content

Commit

Permalink
test(markers): add missing datalad-core marker "integration"
Browse files Browse the repository at this point in the history
Tests are executed with `pytest --strict-marker` now to catch undesired situations due to mistyped markers. DataLad (core) implements many of its old test decorators as markers, but does not declare them. This change add a missing one.

Refs: #692
  • Loading branch information
mih committed May 21, 2024
1 parent 9264c20 commit e4e60b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ version_provider = "scm"
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
# datalad-next custom markers
"skip_if_no_network",
# (implicitly) used markers from datalad-core, which are not declared there
"integration",
"network",
"serve_path_via_http",
"skip_if_adjusted_branch",
"skip_if_no_network",
"skip_if_on_windows",
"skip_if_root",
"skip_ssh",
Expand Down

0 comments on commit e4e60b9

Please sign in to comment.