Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_gettext.WeirdMetadataTest Class Reference
Inheritance diagram for test.test_gettext.WeirdMetadataTest:
Inheritance graph
Collaboration diagram for test.test_gettext.WeirdMetadataTest:
Collaboration graph

List of all members.

Public Member Functions

def setUp
def test_weird_metadata
def tearDown

Public Attributes


Detailed Description

Definition at line 311 of file

Member Function Documentation

Reimplemented from test.test_gettext.GettextBaseTest.

Definition at line 312 of file

00313     def setUp(self):
00314         GettextBaseTest.setUp(self)
00315         with open(MMOFILE, 'rb') as fp:
00316             try:
00317                 self.t = gettext.GNUTranslations(fp)
00318             except:
00319                 self.tearDown()
00320                 raise

Here is the caller graph for this function:

def test.test_gettext.GettextBaseTest.tearDown (   self) [inherited]

Definition at line 77 of file

00078     def tearDown(self):
00079         self.env.__exit__()
00080         del self.env
00081         shutil.rmtree(os.path.split(LOCALEDIR)[0])

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 321 of file

00322     def test_weird_metadata(self):
00323         info =
00324         self.assertEqual(len(info), 9)
00325         self.assertEqual(info['last-translator'],
00326            'John Doe <>\nJane Foobar <>')

Here is the call graph for this function:

Member Data Documentation

Definition at line 73 of file

Definition at line 316 of file

The documentation for this class was generated from the following file: