code: def RemoveAccessPoint(self, dev_path, ap_path):
      '''Remove the specified access point.
  
      You have to specify the device to remove the access point from, and the
      path of the access point.
  
      Please note that this does not set any global properties.
      '''
  
      dev_obj = dbusmock.get_object(dev_path)
  
      aps = dev_obj.Get(WIRELESS_DEVICE_IFACE, 'AccessPoints')
      aps.remove(ap_path)
      dev_obj.Set(WIRELESS_DEVICE_IFACE, 'AccessPoints', aps)
  
      dev_obj.access_points.remove(ap_path)
  
      dev_obj.EmitSignal(WIRELESS_DEVICE_IFACE, 'AccessPointRemoved', 'o', [ap_path])
  
      self.object_manager_emit_removed(ap_path)
      self.RemoveObject(ap_pathf RemoveAccessPoint(self, dev_path, ap_path):
      '''Remove the specified access point.
  
      You have to specify the device to remove the access point from, and the
      path of the access point.
  
      Please note that this does not set any global properties.
      '''
  
      dev_obj = dbusmock.get_object(dev_path)
  
      aps = dev_obj.Get(WIRELESS_DEVICE_IFACE, 'AccessPoints')
      aps.remove(ap_path)
      dev_obj.Set(WIRELESS_DEVICE_IFACE, 'AccessPoints', aps)
  
      dev_obj.access_points.remove(ap_path)
  
      dev_obj.EmitSignal(WIRELESS_DEVICE_IFACE, 'AccessPointRemoved', 'o', [ap_path])
  
      self.object_manager_emit_removed(ap_path)
      self.RemoveObject(ap_path)
docs: Remove the specified access point.
  
      You have to specify the device to remove the access point from, and the
      path of the access point.
  
      Please note that this does not set any global properties.