Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /opt/alt/python27/lib/python2.7/site-packages/jinja2/testsuite/ |
# -*- coding: utf-8 -*- """ jinja2.testsuite.doctests ~~~~~~~~~~~~~~~~~~~~~~~~~ The doctests. Collects all tests we want to test from the Jinja modules. :copyright: (c) 2010 by the Jinja Team. :license: BSD, see LICENSE for more details. """ import unittest import doctest def suite(): from jinja2 import utils, sandbox, runtime, meta, loaders, \ ext, environment, bccache, nodes suite = unittest.TestSuite() suite.addTest(doctest.DocTestSuite(utils)) suite.addTest(doctest.DocTestSuite(sandbox)) suite.addTest(doctest.DocTestSuite(runtime)) suite.addTest(doctest.DocTestSuite(meta)) suite.addTest(doctest.DocTestSuite(loaders)) suite.addTest(doctest.DocTestSuite(ext)) suite.addTest(doctest.DocTestSuite(environment)) suite.addTest(doctest.DocTestSuite(bccache)) suite.addTest(doctest.DocTestSuite(nodes)) return suite