

def test_MarketProtocol_connect_multiplexer_correctly(self):
    mp = MarketProtocol(0, 0, 0, 0)
    self.assertEqual(mp.multiplexer, None)
    mp.connect_multiplexer('3')
    self.assertEqual(mp.multiplexer, '3')

dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/market/tests/test_protocol.py MarketProtocolTest.test_MarketProtocol_connect_multiplexer_correctly/original