def test_set__setup_macros_dict_sets_variable(self):
        p = make_parser("A short template")
        # check that the parser doesn't initially have the
        # _macros attribute
        self.assertFalse(hasattr(p, "_macros"))
        # check that _setup_macros_dict actually sets the
        # attribute.
        _setup_macros_dict(p)
        self.assertTrue(hasattr(p, "_macros"))
Enables all features.
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_set__setup_macros_dict_sets_variable--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow.on_enable_all_features