From: Dwayne B. <dwa...@us...> - 2005-11-30 20:42:16
|
Update of /cvsroot/translate/src/translate/filters In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28015 Modified Files: test_checks.py Log Message: Unit test for pofilter blank test Index: test_checks.py =================================================================== RCS file: /cvsroot/translate/src/translate/filters/test_checks.py,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- test_checks.py 30 Nov 2005 20:37:09 -0000 1.11 +++ test_checks.py 30 Nov 2005 20:42:07 -0000 1.12 @@ -27,6 +27,11 @@ # We don't mind if you add an acronym to correct bad capitalisation in the original assert checks.passes(stdchecker.acronyms, "An html file", "'n HTML leer") +def test_blank(): + """tests blank""" + stdchecker = checks.StandardChecker() + assert checks.fails(stdchecker.blank, "Save as", " ") + def test_compendiumconflicts(): """tests compendiumconflicts""" stdchecker = checks.StandardChecker() |