def setUp(self): self.client = WSClient(wsAddress) self.client.connect()
def enableWS(self): self.api = ApiProxy(WSClient(wsAddress))