Package translate :: Package convert :: Module test_csv2po :: Class TestCSV2PO
[hide private]
[frames] | no frames]

Class TestCSV2PO

source code

Known Subclasses:

Instance Methods [hide private]
 
csv2po(self, csvsource, template=None)
helper that converts csv 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_simpleentity(self)
checks that a simple csv entry definition converts properly to a po entry
source code
 
test_simpleentity_with_template(self)
checks that a simple csv entry definition converts properly to a po entry
source code
 
test_newlines(self)
tests multiline po entries
source code
 
test_tabs(self)
Test the escaping of tabs
source code
 
test_quotes(self)
Test the escaping of quotes (and slash)
source code
 
test_empties(self)
Tests that things keep working with empty entries
source code
 
test_kdecomment(self)
checks that we can merge into KDE comment entries
source code