コード例 #1
0
ファイル: test_filestructure.py プロジェクト: mete0r/pyhwp
 def test_is_hwp5file(self):
     assert FS.is_hwp5file(self.hwp5file_path)
     nonole_filename = self.get_fixture_file('nonole.txt')
     assert not FS.is_hwp5file(nonole_filename)
コード例 #2
0
ファイル: test_filestructure.py プロジェクト: joonwoo88/pyhwp
 def test_is_hwp5file(self):
     assert FS.is_hwp5file(self.hwp5file_path)
     nonole_filename = self.get_fixture_file('nonole.txt')
     assert not FS.is_hwp5file(nonole_filename)
コード例 #3
0
ファイル: test_filestructure.py プロジェクト: changwoo/pyhwp
    def test_is_hwp5file(self):
        assert FS.is_hwp5file(self.hwp5file_path)
        import os.path

        nonole_filename = os.path.join(self.fixtures_dir, "nonole.txt")
        assert not FS.is_hwp5file(nonole_filename)