def test_register(self):
        HostingServiceHook(extension=self.extension, service_cls=TestService)

        self.assertNotEqual(None, get_hosting_service(TestService.name))
Testing HostingServiceHook initializing
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/extensions/tests.py/HostingServiceHookTests.test_register