pystache.tests.test_commands module

Unit tests of commands.py.

class pystache.tests.test_commands.CommandsTestCase(methodName='runTest')[source]

Bases: TestCase

callScript(template, context)[source]
setUp()[source]

Hook method for setting up the test fixture before exercising it.

tearDown()[source]

Hook method for deconstructing the test fixture after testing it.

testMainSimple()[source]

Test a simple command-line case.

class pystache.tests.test_commands.MockStdout[source]

Bases: object

write(str)[source]