

def test_process_channels(self):
    t = Transport('conn')
    ch1 = mock()
    ch2 = mock()
    chs = set([ch1, ch2])
    expect(ch1.process_frames)
    expect(ch2.process_frames)
    t.process_channels(chs)

dataset/ETHPy150Open agoragames/haigha/tests/unit/transports/transport_test.py TransportTest.test_process_channels/original