def test_jinja2_env(self):
        self.build_scaffold(
            'test-template-4', variables={'name': 'Pumpkinman'},
            jinja2_env=Environment(
                block_start_string='{{%=', block_end_string='=%}}',
                variable_start_string='{{=', variable_end_string='=}}',
                trim_blocks=True, undefined=StrictUndefined
            )
        )
        assert self.exists('filea')
        assert self.exists('fileb.html')
        assert 'My name is Pumpkinman' != self.contents('filea')
        assert (
            "{{%= if name == 'Pumpkinman' =%}}" in self.contents('fileb.html')
        )
        assert ' My name is {{= name =}}' in self.contents('fileb.html')

    # ------------------------------------------------------------------------
    # Test Files & Templates
    # ------------------------------------------------------------------------
dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py/TestScaffold.test_jinja2_env/operator `in` -> `!=`