pystache.tests.test_simple module

class pystache.tests.test_simple.TestSimple(methodName='runTest')[source]

Bases: TestCase, AssertStringMixin

test_callables()[source]
test_empty_context()[source]
test_looping_and_negation_context()[source]
test_nested_context()[source]
test_non_existent_value_renders_blank()[source]
test_rendering_partial()[source]
test_template_partial_extension()[source]

Side note:

From the spec–

Partial tags SHOULD be treated as standalone when appropriate.

In particular, this means that trailing newlines should be removed.