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

Function test_channels_setup

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

Source from the content-addressed store, hash-verified

127
128
129def test_channels_setup(process_wchannels):
130
131 process_wchannels.lane = 1
132 process_wchannels.set_channels(pid=1)
133
134 expected = {"input_channel": "in_channel",
135 "output_channel": "out_channel",
136 "template": process_wchannels.template,
137 "pid": "1_1",
138 "forks": ""}
139
140 assert process_wchannels._context == expected
141
142
143def test_channels_setup_withforks(process_wchannels):

Callers

nothing calls this directly

Calls 1

set_channelsMethod · 0.80

Tested by

no test coverage detected