Package translate :: Package convert :: Module test_mozfunny2prop :: Class TestInc2PO

[hide private]
[frames] | no frames]

# Class TestInc2PO

source code

Instance Methods | [hide private]

inc2po(self, incsource, inctemplate=None) helper that converts .inc source to po source without requiring files | source code

singleelement(self, pofile) checks that the pofile contains a single non-header element, and returns it | source code

countelements(self, pofile) counts the number of non-header entries | source code

test_simpleentry(self) checks that a simple inc entry converts properly to a po entry | source code

test_uncomment_contributors(self) checks that the contributors entry is automatically uncommented | source code