Package translate :: Package convert :: Module test_txt2po :: Class TestTxt2PO
[hide private]
[frames] | no frames]

Class TestTxt2PO

source code

Known Subclasses:

Instance Methods [hide private]
 
txt2po(self, txtsource, template=None)
helper that converts txt source to po 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_simple(self)
test the most basic txt conversion
source code
 
test_miltiple_units(self)
test that we can handle txt with multiple units
source code
 
test_carriage_return(self)
Remove carriage returns from files in dos format.
source code