Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFPlone.tests.testUnicodeSplitter Namespace Reference

Classes

class  TestSplitter
class  TestCaseNormalizer
class  TestQuery

Functions

def _setlocale
def test_suite

Variables

tuple LATIN1 = ('de_DE.ISO8859-15', 'de_DE.ISO8859-15@euro', 'nl_NL.iso8859-1')

Function Documentation

Definition at line 14 of file testUnicodeSplitter.py.

00014 
00015 def _setlocale(*names):
00016     saved = locale.setlocale(locale.LC_ALL)
00017     for name in names:
00018         try:
00019             locale.setlocale(locale.LC_ALL, name)
00020             break
00021         except locale.Error:
00022             pass
00023     else:
00024         return None
00025     return saved
00026 

Here is the caller graph for this function:

Definition at line 230 of file testUnicodeSplitter.py.

00230 
00231 def test_suite():
00232     from unittest import TestSuite, makeSuite
00233     suite = TestSuite()
00234     suite.addTest(makeSuite(TestSplitter))
00235     suite.addTest(makeSuite(TestCaseNormalizer))
00236     suite.addTest(makeSuite(TestQuery))
00237     return suite

Variable Documentation

tuple CMFPlone.tests.testUnicodeSplitter.LATIN1 = ('de_DE.ISO8859-15', 'de_DE.ISO8859-15@euro', 'nl_NL.iso8859-1')

Definition at line 12 of file testUnicodeSplitter.py.