Home | History | Annotate | Download | only in test
      1 #!/usr/bin/env python
      2 #
      3 # test_codecmaps_hk.py
      4 #   Codec mapping tests for HongKong encodings
      5 #
      6 
      7 from test import test_support
      8 from test import test_multibytecodec_support
      9 import unittest
     10 
     11 class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping,
     12                        unittest.TestCase):
     13     encoding = 'big5hkscs'
     14     mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT'
     15 
     16 def test_main():
     17     test_support.run_unittest(__name__)
     18 
     19 if __name__ == "__main__":
     20     test_support.use_resources = ['urlfetch']
     21     test_main()
     22