annotate genshi/tests/__init__.py @ 930:0ec0a695ec96

Merge r1138 from py3k: add python 3 support to _speedups C extension
author hodgestar
date Fri, 18 Mar 2011 09:04:14 +0000
parents 90f5908cd10a
children 93e0f2c89576
rev   line source
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
1 # -*- coding: utf-8 -*-
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
2 #
66
822089ae65ce Switch copyright to Edgewall and URLs to markup.edgewall.org.
cmlenz
parents: 27
diff changeset
3 # Copyright (C) 2006 Edgewall Software
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
4 # All rights reserved.
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
5 #
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
6 # This software is licensed as described in the file COPYING, which
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
7 # you should have received as part of this distribution. The terms
230
24757b771651 Renamed Markup to Genshi in repository.
cmlenz
parents: 115
diff changeset
8 # are also available at http://genshi.edgewall.org/wiki/License.
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
9 #
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
10 # This software consists of voluntary contributions made by many
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
11 # individuals. For the exact contribution history, see the revision
230
24757b771651 Renamed Markup to Genshi in repository.
cmlenz
parents: 115
diff changeset
12 # history and logs, available at http://genshi.edgewall.org/log/.
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
13
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
14 import unittest
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
15
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
16 def suite():
230
24757b771651 Renamed Markup to Genshi in repository.
cmlenz
parents: 115
diff changeset
17 import genshi
446
90f5908cd10a Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
cmlenz
parents: 336
diff changeset
18 from genshi.tests import builder, core, input, output, path, util
90f5908cd10a Add basic I18n/L10n functionality, based on GenshiRecipes/Localization.
cmlenz
parents: 336
diff changeset
19 from genshi.filters import tests as filters
336
5f2c7782cd8a Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents: 274
diff changeset
20 from genshi.template import tests as template
5f2c7782cd8a Refactoring: `genshi.template` is now a package, it was getting way to crowded in that file.
cmlenz
parents: 274
diff changeset
21
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
22 suite = unittest.TestSuite()
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
23 suite.addTest(builder.suite())
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
24 suite.addTest(core.suite())
115
d4ea684655d9 Various fixes for breakage introduced in [132].
cmlenz
parents: 66
diff changeset
25 suite.addTest(filters.suite())
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
26 suite.addTest(input.suite())
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
27 suite.addTest(output.suite())
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
28 suite.addTest(path.suite())
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
29 suite.addTest(template.suite())
274
c5ec3146fcb6 Use an LRU cache for caching parsed templates in the `TemplateLoader`. LRU cache implementation is a simplified version of the `LRUCache` class in [http://www.myghty.org/ Myghty].
cmlenz
parents: 230
diff changeset
30 suite.addTest(util.suite())
1
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
31 return suite
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
32
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
33 if __name__ == '__main__':
821114ec4f69 Initial import.
cmlenz
parents:
diff changeset
34 unittest.main(defaultTest='suite')
Copyright (C) 2012-2017 Edgewall Software