def test_has_receiver(self):
        service = self._make_service(['--local-ivo', 'ivo://comet/test', '-r',
                                      '-b', '--remote', 'dummy'])
        for service_name in (
            "Receiver", "Broadcaster",
            "Remote %s:%d" % ('dummy', DEFAULT_REMOTE_PORT)
        ):
            self.assertTrue(service_name in service.namedServices)
dataset/ETHPy150Open jdswinbank/Comet/comet/service/test/test_broker.py/ServiceTestCase.test_has_receiver/original