

def testAllAnnotatedMethodsAreNotImplemented(self):
    router = api_call_router.DisabledApiCallRouter()
    for name in api_call_router.ApiCallRouter.GetAnnotatedMethods():
        with name.assertRaises(NotImplementedError):
            getattr(router, name)(None, token=None)

dataset/ETHPy150Open google/grr/grr/gui/api_call_router_test.py ApiCallRouterTest.testAllAnnotatedMethodsAreNotImplemented/VarMisuse@32/53 `self`->`name`