

def test_debug_mode_inherited(self):
    'Make sure that if a bundle sets debug=FOO, that value is also used\n        for child bundles.\n        '
    self.env.debug = True
    b = self.mkbundle('in1', self.mkbundle('in2', filters=AppendFilter(':childin', ':childout')), output='out', debug='merge', filters=AppendFilter(':rootin', ':rootout'))
    b.build()
    assert (self.get('out') == 'A\nB')

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py TestBuildWithVariousDebugOptions.test_debug_mode_inherited/original