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

Function test_setup_one_raw_fork

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

Source from the content-addressed store, hash-verified

157
158
159def 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
174def test_setup_multiple_raw_forks(process_wchannels):

Callers

nothing calls this directly

Calls 1

set_channelsMethod · 0.80

Tested by

no test coverage detected