def get_client(): client = Client() client.devices = set() client.monitored_datapoints = {} client.set_datapoint = AsyncMock() return client
async def get_client(self): client = Client() client.devices = set() client.set_datapoint = AsyncMock() return client