def assert_location_latitude(self, latitude):
        state = self.hass.states.get(DEVICE_TRACKER_STATE)
        self.assertEqual(state.attributes.get('latitude'), latitude)
Set the face's contents as an image.
dataset/ETHPy150Open home-assistant/home-assistant/tests/components/device_tracker/test_owntracks.py/TestDeviceTrackerOwnTracks.assert_location_latitude--crossover with--dataset/ETHPy150Open anandology/pyjamas/library/pyjamas/ui/CustomButton.py/Face.setImage