def test_get_entries(self):
        entry = {
            'label': 'Test get_entries Function',
            'url': '/dashboard/',
        }

        SandboxNavigationBarTestHook(extension=self.extension, entries=[entry])

        context = Context({})

        t = Template(
            "{% load rb_extensions %}"
            "{% navigation_bar_hooks %}")

        t.render(context).strip()
Testing sandboxing NavigationBarHook when get_entries function
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/extensions/tests.py/SandboxTests.test_get_entries