(mock_init)
| 295 | |
| 296 | |
| 297 | def 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 | |
| 312 | def test_init_secondary_inputs(mock_init): |
nothing calls this directly
no test coverage detected