Package translate :: Package convert :: Module test_txt2po :: Class TestDoku2po

[hide private]
[frames] | no frames]

# Class TestDoku2po

source code

Instance Methods | [hide private]

doku2po(self, txtsource, template=None) helper that converts dokuwiki 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_basic(self) Tests that we can convert some basic things. | source code

test_bullets(self) Tests that we can convert some basic things. | source code

test_numbers(self) Tests that we can convert some basic things. | source code

test_spacing(self) Tests that we can convert some basic things. | source code