Package translate :: Package convert :: Module test_po2ts :: Class TestPO2TS
[hide private]
[frames] | no frames]

Class TestPO2TS

source code

Known Subclasses:

Instance Methods [hide private]
 
po2ts(self, posource)
helper that converts po source to ts source without requiring files
source code
 
singleelement(self, storage)
checks that the pofile contains a single non-header element, and returns it
source code
 
test_simpleunit(self)
checks that a simple po entry definition converts properly to a ts entry
source code
 
test_fullunit(self)
check that an entry with various settings is converted correctly
source code
 
test_fuzzyunit(self)
check that we handle fuzzy units correctly
source code
 
test_obsolete(self)
test that we can take back obsolete messages
source code
 
test_duplicates(self)
test that we can handle duplicates in the same context block
source code