'Test the unit of measurement.'

def test_unit_of_measurement(self):

    for name in self.sensor_dict:
        sensor = self.sensor_dict[name]['sensor']
        self.assertEqual(self.sensor_dict[name]['units'], sensor.unit_of_measurement)
