Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
test: not implemented readall()
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Feb 23, 2021
1 parent 7554507 commit 4951e39
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/test_multivolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,21 @@ def test_readline():
target = os.path.join(testdata_path, "archive.7z")
with pytest.raises(NotImplementedError):
with MV.open(target, mode='rb') as mv:
line = mv.readline()
mv.readline()


def test_readlines():
target = os.path.join(testdata_path, "archive.7z")
with pytest.raises(NotImplementedError):
with MV.open(target, mode='rb') as mv:
for line in mv.readlines():
pass
mv.readlines()


def test_readall():
target = os.path.join(testdata_path, "archive.7z")
with pytest.raises(NotImplementedError):
with MV.open(target, mode='rb') as mv:
mv.readall()


def test_write(tmp_path):
Expand Down

0 comments on commit 4951e39

Please sign in to comment.