etr  4.0-pre
Public Member Functions | List of all members
test_jinja2_plugin.TestRenderer Class Reference

Public Member Functions

def test_should_render_template (self)
 
def test_environment_is_shared_across_templates (self)
 Test that a variable can be set in the globals dictionary, and that it persist to the templates that follow. More...
 

Member Function Documentation

◆ test_environment_is_shared_across_templates()

def test_jinja2_plugin.TestRenderer.test_environment_is_shared_across_templates (   self)

Test that a variable can be set in the globals dictionary, and that it persist to the templates that follow.

This relies on the Jinja2 do extension and that etr prepares a global dictionary that can be used safely for this purposed.

◆ test_should_render_template()

def test_jinja2_plugin.TestRenderer.test_should_render_template (   self)

The documentation for this class was generated from the following file: