Skip to content

Commit

Permalink
Update expectation
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Aug 8, 2022
1 parent 57c4759 commit 241ff93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,10 @@ def test_compress_file_append_dir(tmp_path):
archive = py7zr.SevenZipFile(target, "a")
archive.set_encoded_header_mode(False)
archive.writeall(srcpath.joinpath("22"), arcname="22")
assert len(archive.header.main_streams.unpackinfo.folders) == 2
assert archive.header.main_streams.unpackinfo.numfolders == 2
assert len(archive.files.files_list) == 8
assert len(archive.header.files_info.emptyfiles) == 8
archive.close()
#
p7zip_test(target)
Expand Down

0 comments on commit 241ff93

Please sign in to comment.