

def test_input_before_output_nested(self):
    'Ensure that when nested bundles are used, a parent bundles\n        input filters are applied before a child bundles output filter.\n        '
    child_bundle_with_output_filter = self.mkbundle('1', '2', filters=ReplaceFilter(output=('foo', 'output was here')))
    parent_bundle_with_input_filter = parent_bundle_with_input_filter.mkbundle(child_bundle_with_output_filter, output='out', filters=ReplaceFilter(input=('foo', 'input was here')))
    parent_bundle_with_input_filter.build()
    assert (self.get('out') == 'input was here\ninput was here')

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py TestFilterApplication.test_input_before_output_nested/VarMisuse@38/122 `self`->`parent_bundle_with_input_filter`