| 
									
										
										
										
											2004-07-18 03:06:29 +00:00
										 |  |  | #!/usr/bin/env python | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # test_codecmaps_hk.py | 
					
						
							|  |  |  | #   Codec mapping tests for HongKong encodings | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | from test import test_support | 
					
						
							|  |  |  | from test import test_multibytecodec_support | 
					
						
							|  |  |  | import unittest | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class TestBig5HKSCSMap(test_multibytecodec_support.TestBase_Mapping, | 
					
						
							|  |  |  |                        unittest.TestCase): | 
					
						
							|  |  |  |     encoding = 'big5hkscs' | 
					
						
							| 
									
										
										
										
											2008-02-08 17:10:20 +00:00
										 |  |  |     mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT' | 
					
						
							| 
									
										
										
										
											2004-07-18 03:06:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | def test_main(): | 
					
						
							| 
									
										
										
										
											2007-04-25 17:29:52 +00:00
										 |  |  |     test_support.run_unittest(__name__) | 
					
						
							| 
									
										
										
										
											2004-07-18 03:06:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | if __name__ == "__main__": | 
					
						
							| 
									
										
										
										
											2008-02-08 17:10:20 +00:00
										 |  |  |     test_support.use_resources = ['urlfetch'] | 
					
						
							| 
									
										
										
										
											2004-07-18 03:06:29 +00:00
										 |  |  |     test_main() |