def test_signals(self):

        _signals_fired = []

        def _connect_sidebar(sender, **kwargs):
            _signals_fired.append('sidebar')

        def _connect_header(sender, **kwargs):
            _signals_fired.append('header')

        registry.connect('sidebar_start', _connect_sidebar)
        registry.connect('header_end', _connect_header)

        self.client.get('/')
        self.assertEquals(len(_signals_fired), 2)
        self.assertTrue('sidebar' in _signals_fired)
        self.assertTrue('header' in _signals_fired)
[Regression] Test that if an open filter is used, input filters
dataset/ETHPy150Open weluse/django-templatehooks/tests/base/tests.py/TemplateHooksDisabledTestCase.test_signals--crossover with--dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py/TestFilterApplication.test_open_before_input