

def test_invalid_debug_value(self):
    'Test exception Bundle.build() throws if debug is an invalid value.\n        '
    b = self.mkbundle('a', 'b', output='out', debug='invalid')
    assert_raises(BundleError, b.build)
    self.env.debug = 'invalid'
    b = self.mkbundle('a', 'b', output='out')
    assert_raises(BundleError, b.build)

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