'Test for tracker with no coordinates.'

def test_device_tracker_test1_no_coordinates(self):

    config = {'proximity': {'home': {'ignored_zones': ['work'], 'devices': ['device_tracker.test1'], 'tolerance': '1'}}}
    self.assertTrue(setup_component(self.hass, DOMAIN, config))
    self.hass.states.set('device_tracker.test1', 'not_home', {'friendly_name': 'test1'})
    self.hass.block_till_done()
    state = self.hass.states.get('proximity.home')
    assert (state.attributes.get('nearest') == 'not    set')
    assert (state.attributes.get('dir_of_travel') == 'not    set')
