code: def RemoveDevice(self, object_path):
      '''Remove (forget) a device '''
  
      adapter = mockobject.objects[self.path]
      adapter.EmitSignal(ADAPTER_IFACE, 'DeviceRemoved',
                         'o', [object_path]f RemoveDevice(self, object_path):
      '''Remove (forget) a device '''
  
      adapter = mockobject.objects[self.path]
      adapter.EmitSignal(ADAPTER_IFACE, 'DeviceRemoved',
                         'o', [object_path])
docs: Remove (forget) a device