def test_open_before_input(self):
        captured_kw = {}
        class TestFilter(Filter):
            def open(self, out, *a, **kw): out.write('foo')
            def input(self, *a, **kw):
                assert not captured_kw
                captured_kw.update(kw)
        self.create_files({'a': '1'})
        self.mkbundle('a', filters=TestFilter, output='out').build()
        # TODO: Could be generalized to test all the other values that
        # each filter method expects to receive. This is currently not
        # done anywhere )though it likely still wouldn't have caught this).
        assert 'source_path' in captured_kw
Return a firewall list available for the tenant.
dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py/TestFilterApplication.test_open_before_input--crossover with--dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/fwaas.py/firewall_list_for_tenant