Package translate :: Package convert :: Module test_po2tmx :: Class TestPO2TMX
[hide private]
[frames] | no frames]

Class TestPO2TMX

source code

Known Subclasses:

Instance Methods [hide private]
 
po2tmx(self, posource, sourcelanguage='en', targetlanguage='af')
helper that converts po source to tmx source without requiring files
source code
 
test_basic(self) source code
 
test_sourcelanguage(self) source code
 
test_targetlanguage(self) source code
 
test_multiline(self)
Test multiline po entry
source code
 
test_escapednewlines(self)
Test the escaping of newlines
source code
 
test_escapedtabs(self)
Test the escaping of tabs
source code
 
test_escapedquotes(self)
Test the escaping of quotes (and slash)
source code
 
test_exclusions(self)
Test that empty and fuzzy messages are excluded
source code
 
test_nonascii(self)
Tests that non-ascii conversion works.
source code