(process_wchannels)
| 157 | |
| 158 | |
| 159 | def test_setup_one_raw_fork(process_wchannels): |
| 160 | |
| 161 | process_wchannels.main_forks = ["A"] |
| 162 | process_wchannels.lane = 1 |
| 163 | process_wchannels.set_channels(pid=1) |
| 164 | |
| 165 | expected = {"input_channel": "in_channel", |
| 166 | "output_channel": "out_channel", |
| 167 | "template": process_wchannels.template, |
| 168 | "pid": "1_1", |
| 169 | "forks": "\nout_channel.set{ A }\n"} |
| 170 | |
| 171 | assert process_wchannels._context == expected |
| 172 | |
| 173 | |
| 174 | def test_setup_multiple_raw_forks(process_wchannels): |
nothing calls this directly
no test coverage detected