Back to index

plone3  3.1.7
Classes | Functions | Variables
PloneTranslations.tests.test_i18n Namespace Reference

Classes

class  TestOnePOT
class  TestOnePoFile

Functions

def test_suite

Variables

tuple GLOBALS = globals()
tuple PACKAGE_HOME = os.path.normpath(os.path.join(package_home(GLOBALS), '..'))
tuple i18ndir = os.path.normpath(PACKAGE_HOME)
list tests = []
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 50 of file test_i18n.py.

00050 
00051     def test_suite():
00052         suite = unittest.TestSuite()
00053         for test in tests:
00054             suite.addTest(unittest.makeSuite(test))
00055         return suite

Variable Documentation

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

Definition at line 29 of file test_i18n.py.

Definition at line 30 of file test_i18n.py.

Definition at line 9 of file test_i18n.py.

Definition at line 16 of file test_i18n.py.

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

Definition at line 10 of file test_i18n.py.

Definition at line 21 of file test_i18n.py.

Definition at line 22 of file test_i18n.py.

Definition at line 20 of file test_i18n.py.

tuple PloneTranslations.tests.test_i18n.product = getProductFromPath(potFile)

Definition at line 25 of file test_i18n.py.

Definition at line 19 of file test_i18n.py.

Definition at line 18 of file test_i18n.py.