def destroy(self): events.unregister("CreateDomain", onCreateDomain) events.unregister("DeleteDomain", onDeleteDomain) events.unregister("CreateMailbox", onCreateMailbox) events.unregister("DeleteMailbox", onDeleteMailbox) events.unregister("ModifyMailbox", onModifyMailbox) events.unregister("UserMenuDisplay", menu) parameters.unregister()
def test_unregister(self): parameters.unregister("test") self.assertNotIn("test", parameters._params['A'])
def destroy(self): parameters.unregister() Group.objects.get(name="Resellers").delete()
def destroy(self): events.unregister_extension() parameters.unregister()
def destroy(self): parameters.unregister()
def destroy(self): """Plugin unloading. """ events.unregister_extension() parameters.unregister()
def destroy(self): events.unregister("UserMenuDisplay", menu) parameters.unregister()
def destroy(self): events.unregister_extension() parameters.unregister() Group.objects.get(name="Resellers").delete()
def test_unregister(self): parameters.unregister("test") self.assertNotIn("test", parameters._params["A"])