Skip to content

Commit 3366a2a

Browse files
committed
add ceagent as needed_entity for tests
1 parent 3a79653 commit 3366a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

niworkflows/reports/tests/test_core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def test_process_orderings_large(test_report2, orderings,
184184
("run"),
185185
("session,task"),
186186
("session,task,run"),
187+
("session,task,ceagent,run"),
187188
("session,task,acquisition,ceagent,reconstruction,direction,run,echo"),
188189
("session,task,run,madeupentity"),
189190
])
@@ -200,7 +201,7 @@ def test_generated_reportlets(bids_sessions, ordering):
200201
# expected number of reportlets
201202
expected_reportlets_num = len(report.layout.get(extension='svg'))
202203
# bids_session uses these entities
203-
needed_entities = ['session', 'task', 'run']
204+
needed_entities = ['session', 'task', 'ceagent', 'run']
204205
# the last section is the most recently run
205206
reportlets_num = len(report.sections[-1].reportlets)
206207
# if ordering does not contain all the relevent entities

0 commit comments

Comments
 (0)