Skip to content

Commit 7f5ad07

Browse files
committed
FIX: Fix the 4D data generator fixture name
Fix the 4D data generator fixture name and add the corresponding entry to the markers list.
1 parent e964b96 commit 7f5ad07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ env = "PYTHONHASHSEED=0"
221221
markers = [
222222
"random_gtab_data: Custom marker for random gtab data tests",
223223
"random_dwi_data: Custom marker for random dwi data tests",
224+
"random_uniform_4d_data: Custom marker for random 4d data tests",
224225
]
225226
filterwarnings = [
226227
"ignore::DeprecationWarning",

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def random_number_generator(request):
171171
@pytest.fixture(autouse=True)
172172
def setup_random_uniform_4d_data(request):
173173
"""Automatically generate random data for tests."""
174-
marker = request.node.get_closest_marker("random_uniform_4d_data_generator")
174+
marker = request.node.get_closest_marker("random_uniform_4d_data")
175175

176176
size = (32, 32, 32, 5)
177177
a = 0.0

0 commit comments

Comments
 (0)