'Setup the tests.'

def test_has_location_with_states_with_invalid_locations(self):

    state = State('hello.world', 'invalid', {ATTR_LATITUDE: 'no    number', ATTR_LONGITUDE: 123.12})
    self.assertFalse(location.has_location(state))
