def test_waypoint_import_no_whitelist(self):
     """Test import of list of waypoints with no whitelist set."""
     test_config = {CONF_PLATFORM: "owntracks", CONF_MAX_GPS_ACCURACY: 200, CONF_WAYPOINT_IMPORT: True}
     owntracks.setup_scanner(self.hass, test_config, self.mock_see)
     waypoints_message = WAYPOINTS_EXPORTED_MESSAGE.copy()
     self.send_message(WAYPOINT_TOPIC_BLOCKED, waypoints_message)
     # Check if it made it into states
     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)
 def test_waypoint_import_no_whitelist(self):
     """Test import of list of waypoints with no whitelist set."""
     test_config = {
         CONF_PLATFORM: 'owntracks',
         CONF_MAX_GPS_ACCURACY: 200,
         CONF_WAYPOINT_IMPORT: True
     }
     owntracks.setup_scanner(self.hass, test_config, self.mock_see)
     waypoints_message = WAYPOINTS_EXPORTED_MESSAGE.copy()
     self.send_message(WAYPOINT_TOPIC_BLOCKED, waypoints_message)
     # Check if it made it into states
     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)