pystache.tests.test_pystache module
- class pystache.tests.test_pystache.PystacheTests(methodName='runTest')[source]
Bases:
TestCase
- non_strings_expected = '(123 & ['something'])(chris & 0.9)'
- test__section__non_false_value()[source]
Test when a section value is a (non-list) “non-false value”.
From mustache(5):
When the value [of a section key] is non-false but not a list, it will be used as the context for a single rendering of the block.