Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/o/mozpool-4.1.5/mozpool/test/unit/bmm/test_relay.py   mozpool(Download)
    def setUp(self):
        # start up a fake relay server, and set relay.PORT to point to it
        self.relayboard = fakerelay.RelayBoard('test', ('127.0.0.1', 0), record_actions=True)
        self.relayboard.add_relay(2, 2, fakerelay.Relay())
        thd = self.relayboard.spawn_one()

src/m/o/mozpool-4.1.5/mozpool/test/fakedevices.py   mozpool(Download)
        self.relayboard_fqdn = relayboard_fqdn
        host, port = relayboard_fqdn.split(':')
        self.relayboard = fakerelay.RelayBoard(relayboard_fqdn, ('', int(port)))
        self.devices = {}