'Test the assertion of a location accuracy.'

def assert_location_accuracy(self, accuracy):

    state = self.hass.states.get(DEVICE_TRACKER_STATE)
    self.assertEqual(state.attributes.get('gps_accuracy'), accuracy)
