Skip to content

Commit bc24ff6

Browse files
committed
TEST: More slow marks, add veryslow
1 parent 606e5d8 commit bc24ff6

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,14 @@ per-file-ignores = [
160160

161161
[tool.pytest.ini_options]
162162
norecursedirs = [".git"]
163-
addopts = "-svx --doctest-modules"
163+
addopts = "-svx --doctest-modules --strict-markers"
164164
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
165165
env = "PYTHONHASHSEED=0"
166166
filterwarnings = ["ignore::DeprecationWarning"]
167167
junit_family = "xunit2"
168168
markers = [
169169
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
170+
"veryslow: marks tests as very slow (>5min)",
170171
]
171172

172173

sdcflows/workflows/fit/tests/test_syn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from ..syn import init_syn_sdc_wf, init_syn_preprocessing_wf, _adjust_zooms, _set_dtype
2929

3030

31+
@pytest.mark.veryslow
3132
@pytest.mark.slow
3233
def test_syn_wf(tmpdir, datadir, workdir, outdir, sloppy_mode):
3334
"""Build and run an SDC-SyN workflow."""

sdcflows/workflows/tests/test_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from sdcflows.workflows.base import init_fmap_preproc_wf
2929

3030

31+
@pytest.mark.veryslow
3132
@pytest.mark.slow
3233
@pytest.mark.parametrize(
3334
"dataset,subject", [("ds000054", "100185"), ("HCP101006", "101006")]

sdcflows/workflows/tests/test_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
)
3737

3838

39+
@pytest.mark.slow
3940
@pytest.mark.parametrize("pe0", ["LR", "PA"])
4041
@pytest.mark.parametrize("mode", ["pepolar", "phasediff"])
4142
def test_integration_wf(tmpdir, workdir, outdir, datadir, pe0, mode):

0 commit comments

Comments
 (0)