def test_create_with_instance_id(self):
        fixture = {'name': 'test image',
                   'is_public': False,
                   'properties': {'instance_id': '42', 'user_id': 'fake'}}

        image_id = self.service.create(self.context, fixture)['id']
        expected = fixture
        self.assertDictMatch(self.sent_to_glance['metadata'], expected)

        image_meta = self.service.show(self.context, image_id)
        expected = {'id': image_id,
                    'name': 'test image',
                    'is_public': False,
                    'properties': {'instance_id': '42', 'user_id': 'fake'}}
        self.assertDictMatch(image_meta, expected)

        image_metas = self.service.detail(self.context)
        self.assertDictMatch(image_metas[0], expected)
Return the temperature we try to reach.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/api/openstack/test_images.py/GlanceImageServiceTest.test_create_with_instance_id--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/eq3btsmart.py/EQ3BTSmartThermostat.target_temperature