'Test the name.'

def test_name(self):

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