def test_register(self):
        AdminWidgetHook(extension=self.extension, widget_cls=TestWidget)

        self.assertIn(TestWidget, secondary_widgets)
Testing AdminWidgetHook initializing
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/extensions/tests.py/AdminWidgetHookTests.test_register