home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 July / maximum-cd-2011-07.iso / DiscContents / LibO_3.3.2_Win_x86_install_multi.exe / libreoffice1.cab / test_codecmaps_hk.py < prev    next >
Encoding:
Python Source  |  2011-03-15  |  552 b   |  22 lines

  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.