"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Cheetah/Tests/Test.py" between
cheetah3-3.1.0.tar.gz and cheetah3-3.2.0.tar.gz

About: Cheetah3 is a template engine and code generation tool for e.g. for Web development or Java, SQL, LaTeX, form email ... (written in Python).

Test.py  (cheetah3-3.1.0):Test.py  (cheetah3-3.2.0)
skipping to change at line 17 skipping to change at line 17
# combo tests # combo tests
# negative test cases for expected exceptions # negative test cases for expected exceptions
# black-box vs clear-box testing # black-box vs clear-box testing
# do some tests that run the Template for long enough to check # do some tests that run the Template for long enough to check
# that the refresh code works # that the refresh code works
""" """
import sys import sys
import unittest import unittest
from Cheetah.Tests import SyntaxAndOutput from Cheetah.Tests import Analyzer
from Cheetah.Tests import CheetahWrapper
# from Cheetah.Tests import Cheps
from Cheetah.Tests import Filters
from Cheetah.Tests import ImportHooks
from Cheetah.Tests import LoadTemplate
from Cheetah.Tests import Misc
from Cheetah.Tests import NameMapper from Cheetah.Tests import NameMapper
from Cheetah.Tests import NameMapper_pure from Cheetah.Tests import NameMapper_pure
from Cheetah.Tests import Misc
from Cheetah.Tests import Filters
from Cheetah.Tests import Template
# from Cheetah.Tests import Cheps
from Cheetah.Tests import Parser from Cheetah.Tests import Parser
from Cheetah.Tests import Regressions from Cheetah.Tests import Regressions
from Cheetah.Tests import SyntaxAndOutput
from Cheetah.Tests import Template
from Cheetah.Tests import Unicode from Cheetah.Tests import Unicode
from Cheetah.Tests import CheetahWrapper
from Cheetah.Tests import Analyzer
SyntaxAndOutput.install_eols() SyntaxAndOutput.install_eols()
suites = [ suites = [
unittest.findTestCases(SyntaxAndOutput), unittest.findTestCases(Analyzer),
unittest.findTestCases(NameMapper), # unittest.findTestCases(Cheps),
unittest.findTestCases(NameMapper_pure), unittest.findTestCases(Filters),
unittest.findTestCases(Filters), unittest.findTestCases(ImportHooks),
unittest.findTestCases(Template), unittest.findTestCases(LoadTemplate),
# unittest.findTestCases(Cheps), unittest.findTestCases(Misc),
unittest.findTestCases(Regressions), unittest.findTestCases(NameMapper),
unittest.findTestCases(Unicode), unittest.findTestCases(Parser),
unittest.findTestCases(Misc), unittest.findTestCases(Regressions),
unittest.findTestCases(Parser), unittest.findTestCases(SyntaxAndOutput),
unittest.findTestCases(Analyzer), unittest.findTestCases(Template),
unittest.findTestCases(Unicode),
unittest.findTestCases(NameMapper_pure),
] ]
if not sys.platform.startswith('java'): if not sys.platform.startswith('java'):
suites.append(unittest.findTestCases(CheetahWrapper)) suites.append(unittest.findTestCases(CheetahWrapper))
if __name__ == '__main__': if __name__ == '__main__':
if 'xml' in sys.argv: if 'xml' in sys.argv:
from Cheetah.Tests import xmlrunner from Cheetah.Tests import xmlrunner
runner = xmlrunner.XMLTestRunner(filename='Cheetah-Tests.xml') runner = xmlrunner.XMLTestRunner(filename='Cheetah-Tests.xml')
else: else:
 End of changes. 5 change blocks. 
18 lines changed or deleted 22 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)