def testDelNoteFromInterfaceASYNC(self): interface = Interface('coco') note = ModelObjectNote("int_mock0") interface.addChild(note) self.genericDelTest(interface, note, controller.ModelController.delNoteFromInterfaceASYNC, process_pending=True)
def testInterfaceFromHostRemovedASYNC(self): service = Service('coco') interface = Interface("int_mock0") interface.addChild(service) self.genericDelTest(interface, service, controller.ModelController.delServiceFromInterfaceASYNC, process_pending=True)