MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / test_init_multi_raw_inputs

Function test_init_multi_raw_inputs

flowcraft/tests/test_processes.py:297–309  ·  view source on GitHub ↗
(mock_init)

Source from the content-addressed store, hash-verified

295
296
297def test_init_multi_raw_inputs(mock_init):
298
299 mock_init.set_raw_inputs({"fastq": {"channel": "rawChannel",
300 "raw_forks": ["A", "B"],
301 "channel_str": "rawChannel.Channel"},
302 "fasta": {"channel": "otherChannel",
303 "raw_forks": ["C"],
304 "channel_str": "otherChannel.Channel"}})
305
306 assert [mock_init.forks, mock_init._context["main_inputs"]] == \
307 [["\nrawChannel.into{ A;B }\n",
308 "\notherChannel.set{ C }\n"],
309 "rawChannel.Channel\notherChannel.Channel"]
310
311
312def test_init_secondary_inputs(mock_init):

Callers

nothing calls this directly

Calls 1

set_raw_inputsMethod · 0.80

Tested by

no test coverage detected