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

Function test_setup_multiple_raw_forks

flowcraft/tests/test_processes.py:174–186  ·  view source on GitHub ↗
(process_wchannels)

Source from the content-addressed store, hash-verified

172
173
174def test_setup_multiple_raw_forks(process_wchannels):
175
176 process_wchannels.main_forks = ["A", "B"]
177 process_wchannels.lane = 3
178 process_wchannels.set_channels(pid=1)
179
180 expected = {"input_channel": "in_channel",
181 "output_channel": "out_channel",
182 "template": process_wchannels.template,
183 "pid": "3_1",
184 "forks": "\nout_channel.into{ A;B }\n"}
185
186 assert process_wchannels._context == expected
187
188
189def test_channels_setup_status(process_wchannels):

Callers

nothing calls this directly

Calls 1

set_channelsMethod · 0.80

Tested by

no test coverage detected