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 executd 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.

datalad#692
  • Loading branch information
mih committed May 21, 2024
1 parent a812396 commit 3965d29
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 @@ -4,10 +4,13 @@ requires = ["setuptools >= 43.0.0", "wheel"]
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
# datalad-next custom markers
"skip_if_no_network",
# (implicitely) 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 3965d29

Please sign in to comment.