def setChannelValue(self, channel, value):
    SensorsClientTest.client.GpioCommand('value', channel, value)
    bus = {item['channel']: item['value'] for item in SensorsClientTest.client.BusInfo()}
    self.assertEqual(value, bus['sys:gpio:{};value'.format(channel)])
def setChannelValue(self, channel, value):
    SensorsClientTest.client.GpioCommand('value', channel, value)
    bus = {item['channel']: item['value'] for item in SensorsClientTest.client.BusInfo()}
    self.assertEqual(value, bus['sys:gpio:{};value'.format(channel)])