def testOnRegisterAndOnRemove(self):

        model = puremvc.core.Model.getInstance()

        testProxy = utils.model.ModelTestProxy()
        model.registerProxy(testProxy)

        self.assertEqual(True, testProxy.getData() == utils.model.ModelTestProxy.ON_REGISTER_CALLED)

        model.removeProxy(utils.model.ModelTestProxy.NAME)

        self.assertEqual(True, testProxy.getData() == utils.model.ModelTestProxy.ON_REMOVE_CALLED)
Superusers should see all open requests.
dataset/ETHPy150Open PureMVC/puremvc-python-standard-framework/tests/core/model.py/ModelTest.testOnRegisterAndOnRemove--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupRequestUpdateViewTest.test_superuser_sees_all_group_requests