コード例 #1
0
ファイル: test_plat_gir_gsf.py プロジェクト: hongry18/pyhwp
    def test_listdir(self):
        gsfole = gir_gsf.open(self.sample_path)

        children = list(gir_gsf.listdir(gsfole))
        self.assertEquals(set(['BinData', 'DocInfo', 'PrvText',
                               'Scripts', 'BodyText', 'PrvImage',
                               'DocOptions', 'FileHeader',
                               '\x05HwpSummaryInformation']),
                          set(children))
コード例 #2
0
    def test_listdir(self):
        gsfole = gir_gsf.open(self.sample_path)

        children = list(gir_gsf.listdir(gsfole))
        self.assertEquals(
            set([
                'BinData', 'DocInfo', 'PrvText', 'Scripts', 'BodyText',
                'PrvImage', 'DocOptions', 'FileHeader',
                '\x05HwpSummaryInformation'
            ]), set(children))
コード例 #3
0
 def test_open(self):
     gir_gsf.open(self.sample_path)
コード例 #4
0
ファイル: test_plat_gir_gsf.py プロジェクト: hongry18/pyhwp
 def test_open(self):
     gir_gsf.open(self.sample_path)