def setUp(self): super(KombuIntegrationTest, self).setUp() self.exchange_name = 'test-%s' % uuid.uuid4() self.discovery_hub = StaticServiceRegistryHub() self.the_container, self.the_interface = self.create_container(TestInterface, 'test') self.lymph_client = self.create_client()
def __init__(self): self.service_containers = {} self.next_port = 1 self.discovery_hub = StaticServiceRegistryHub() self.events = LocalEventSystem()