pystache.tests.test_parser module

Unit tests of parser.py.

class pystache.tests.test_parser.RegularExpressionTestCase(methodName='runTest')[source]

Bases: TestCase

Tests the regular expression returned by _compile_template_re().

test_re()[source]

Test getting a key from a dictionary.