Hye-Shik Chang | 2bb146f | 2004-07-18 03:06:29 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # |
| 3 | # test_codecmaps_hk.py |
| 4 | # Codec mapping tests for HongKong encodings |
| 5 | # |
| 6 | # $CJKCodecs: test_codecmaps_hk.py,v 1.1 2004/07/10 17:35:20 perky Exp $ |
| 7 | |
| 8 | from test import test_support |
| 9 | from test import test_multibytecodec_support |
| 10 | import unittest |
| 11 | |
| 12 | class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping, |
| 13 | unittest.TestCase): |
| 14 | encoding = 'big5hkscs' |
Hye-Shik Chang | 2bb146f | 2004-07-18 03:06:29 +0000 | [diff] [blame] | 15 | mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS.TXT' |
| 16 | |
| 17 | def test_main(): |
| 18 | suite = unittest.TestSuite() |
| 19 | suite.addTest(unittest.makeSuite(TestBig5HKSCSMap)) |
| 20 | test_support.run_suite(suite) |
| 21 | |
Hye-Shik Chang | 2bb146f | 2004-07-18 03:06:29 +0000 | [diff] [blame] | 22 | if __name__ == "__main__": |
| 23 | test_main() |