'Test import of list of waypoints with no whitelist set.'

def test_waypoint_import_no_whitelist(self):

    @asyncio.coroutine
    def mock_see(**kwargs):
        'Fake    see    method    for    owntracks.'
        return
    test_config = {CONF_PLATFORM: 'owntracks', CONF_MAX_GPS_ACCURACY: 200, CONF_WAYPOINT_IMPORT: True}
    run_coroutine_threadsafe(owntracks.async_setup_scanner(self.hass, test_config, mock_see), self.hass.loop).result()
    waypoints_message = WAYPOINTS_EXPORTED_MESSAGE.copy()
    self.send_message(WAYPOINT_TOPIC_BLOCKED, waypoints_message)
    wayp = self.hass.states.get(WAYPOINT_ENTITY_NAMES[2])
    self.assertTrue((wayp is not None))
    wayp = self.hass.states.get(WAYPOINT_ENTITY_NAMES[3])
    self.assertTrue((wayp is not None))
