# HG changeset patch # User svartalf # Date 1270802845 -32400 # Node ID 1f375806776b4dac73e6060575e4eb06225b7e73 # Parent f1dfd668a2c5dfa4136ca50e349013ff1d3846f7 Поправки в тестах diff -r f1dfd668a2c5dfa4136ca50e349013ff1d3846f7 -r 1f375806776b4dac73e6060575e4eb06225b7e73 pytyph/tests/__init__.py --- a/pytyph/tests/__init__.py Fri Apr 09 17:32:28 2010 +0900 +++ b/pytyph/tests/__init__.py Fri Apr 09 17:47:25 2010 +0900 @@ -1,6 +1,1 @@ # -*- coding: utf-8 -*- - -from whitespaces import WhitespacesTest -from acronyms import AcronymsTest - -__all__ = ('WhitespacesTest', 'AcronymsTest') diff -r f1dfd668a2c5dfa4136ca50e349013ff1d3846f7 -r 1f375806776b4dac73e6060575e4eb06225b7e73 pytyph/tests/characters.py --- a/pytyph/tests/characters.py Fri Apr 09 17:32:28 2010 +0900 +++ b/pytyph/tests/characters.py Fri Apr 09 17:47:25 2010 +0900 @@ -4,7 +4,7 @@ from pytyph.typograph import Typograph -class AcronymsTest(unittest.TestCase): +class CharactersTest(unittest.TestCase): def setUp(self): self.typograph = Typograph() @@ -14,8 +14,7 @@ right = u'© ® ™ ± 100×100 ½ ⅓ 10 °C № 1 § 32 § IV' self.assertEqual(self.typograph.process(test), right) - + if __name__ == '__main__': unittest.main() - \ No newline at end of file