Back to index

plone3  3.1.7
Classes | Functions | Variables
kupu.plone.tests.test_i18n Namespace Reference

Classes

class  TestOnePOT
class  TestOnePoFile

Functions

def test_suite

Variables

 HAS_I18NDUDE = True
list tests = []
tuple GLOBALS = globals()
tuple PACKAGE_HOME = os.path.normpath(os.path.join(package_home(GLOBALS), '..', '..'))
tuple i18ndir = os.path.normpath(PACKAGE_HOME)
list products = []
dictionary pots = {}
dictionary pot_catalogs = {}
dictionary pot_lens = {}
tuple product = getProductFromPath(potFile)
tuple cat = catalog.MessageCatalog(filename=potFile)
tuple cat_len = len(cat)

Function Documentation

Definition at line 56 of file test_i18n.py.

00056 
00057 def test_suite():
00058     suite = unittest.TestSuite()
00059     for test in tests:
00060         suite.addTest(unittest.makeSuite(test))
00061     return suite

Variable Documentation

tuple kupu.plone.tests.test_i18n.cat = catalog.MessageCatalog(filename=potFile)

Definition at line 35 of file test_i18n.py.

Definition at line 36 of file test_i18n.py.

Definition at line 16 of file test_i18n.py.

Definition at line 6 of file test_i18n.py.

Definition at line 23 of file test_i18n.py.

tuple kupu.plone.tests.test_i18n.PACKAGE_HOME = os.path.normpath(os.path.join(package_home(GLOBALS), '..', '..'))

Definition at line 17 of file test_i18n.py.

Definition at line 27 of file test_i18n.py.

Definition at line 28 of file test_i18n.py.

Definition at line 26 of file test_i18n.py.

tuple kupu.plone.tests.test_i18n.product = getProductFromPath(potFile)

Definition at line 31 of file test_i18n.py.

Definition at line 25 of file test_i18n.py.

Definition at line 14 of file test_i18n.py.