def METHOD_NAME(self, channel):
    ch = self.channel_mock[channel]
    return (
        f"{ch.sensor_type},"
        f"{ch.auto_range_enabled},{ch.range},"
        f"{ch.compensation_enabled},{ch.units}"
    )