[KoCo-CVS] [Commit] KoreanCodecs/test CodecTestBase.py test_cp949.py test_euc_kr.py test_iso_2022_kr
Brought to you by:
perky
From: Hye-Shik C. <pe...@us...> - 2003-01-09 21:41:39
|
perky 03/01/09 13:41:37 Modified: test CodecTestBase.py test_cp949.py test_euc_kr.py test_iso_2022_kr.py Removed: test text.cp949 text.cp949.utf-8 text.euc-kr text.euc-kr.utf-8 text.iso-2022-kr.roundrobin text.iso-2022-kr.stream text.iso-2022-kr.utf-8 text.johab text.johab.utf-8 text.qwerty2bul text.qwerty2bul.utf-8 text.unijohab text.unijohab.utf-8 Log: Move text.* to texts/ subdir Revision Changes Path 1.8 +3 -3 KoreanCodecs/test/CodecTestBase.py Index: CodecTestBase.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/CodecTestBase.py,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- CodecTestBase.py 9 Jan 2003 21:31:44 -0000 1.7 +++ CodecTestBase.py 9 Jan 2003 21:41:37 -0000 1.8 @@ -16,7 +16,7 @@ # along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: CodecTestBase.py,v 1.7 2003/01/09 21:31:44 perky Exp $ +# $Id: CodecTestBase.py,v 1.8 2003/01/09 21:41:37 perky Exp $ # import StringIO @@ -45,8 +45,8 @@ def setUp(self): if not self.textfile_chunk: - self.textfile_chunk = ('text.' + self.encoding, - 'text.%s.utf-8' % self.encoding) or self.textfile_stream + self.textfile_chunk = ('texts/' + self.encoding, + 'texts/%s.utf-8' % self.encoding) or self.textfile_stream if not self.textfile_stream: self.textfile_stream = self.textfile_chunk # checked above. :) 1.6 +2 -2 KoreanCodecs/test/test_cp949.py Index: test_cp949.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/test_cp949.py,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- test_cp949.py 9 Jan 2003 21:31:44 -0000 1.5 +++ test_cp949.py 9 Jan 2003 21:41:37 -0000 1.6 @@ -16,7 +16,7 @@ # along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: test_cp949.py,v 1.5 2003/01/09 21:31:44 perky Exp $ +# $Id: test_cp949.py,v 1.6 2003/01/09 21:41:37 perky Exp $ # import CodecTestBase @@ -24,7 +24,7 @@ class Shield: class TestCP949Base(CodecTestBase.TestStreamReader, CodecTestBase.CodecTestBase): encoding = 'cp949' - textfile_chunk = ('text.cp949', 'text.cp949.utf-8') + textfile_chunk = ('texts/cp949', 'texts/cp949.utf-8') errortests = ( # invalid bytes ("abc\x80\x80\xc1\xc4", "strict", None), 1.7 +2 -2 KoreanCodecs/test/test_euc_kr.py Index: test_euc_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/test_euc_kr.py,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- test_euc_kr.py 9 Jan 2003 21:31:44 -0000 1.6 +++ test_euc_kr.py 9 Jan 2003 21:41:37 -0000 1.7 @@ -16,7 +16,7 @@ # along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: test_euc_kr.py,v 1.6 2003/01/09 21:31:44 perky Exp $ +# $Id: test_euc_kr.py,v 1.7 2003/01/09 21:41:37 perky Exp $ # import CodecTestBase @@ -24,7 +24,7 @@ class Shield: class TestEUCKR_Base(CodecTestBase.TestStreamReader, CodecTestBase.CodecTestBase): encoding = 'euc-kr' - textfile_chunk = ('text.euc-kr', 'text.euc-kr.utf-8') + textfile_chunk = ('texts/euc-kr', 'texts/euc-kr.utf-8') errortests = ( # invalid bytes ("abc\x80\x80\xc1\xc4", "strict", None), 1.5 +3 -3 KoreanCodecs/test/test_iso_2022_kr.py Index: test_iso_2022_kr.py =================================================================== RCS file: /cvsroot/koco/KoreanCodecs/test/test_iso_2022_kr.py,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- test_iso_2022_kr.py 9 Jan 2003 21:31:44 -0000 1.4 +++ test_iso_2022_kr.py 9 Jan 2003 21:41:37 -0000 1.5 @@ -16,15 +16,15 @@ # along with KoreanCodecs; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: test_iso_2022_kr.py,v 1.4 2003/01/09 21:31:44 perky Exp $ +# $Id: test_iso_2022_kr.py,v 1.5 2003/01/09 21:41:37 perky Exp $ # import CodecTestBase class TestISO_2022_KR(CodecTestBase.CodecTestBase): encoding = 'iso-2022-kr' - textfile_chunk = ('text.%s.roundrobin' % encoding, 'text.%s.utf-8' % encoding) - textfile_stream = ('text.%s.stream' % encoding, 'text.%s.utf-8' % encoding) + textfile_chunk = ('texts/%s.roundrobin' % encoding, 'texts/%s.utf-8' % encoding) + textfile_stream = ('texts/%s.stream' % encoding, 'texts/%s.utf-8' % encoding) errortests = ( # invalid bytes |