Skip to content

Commit

Permalink
Add test capturing missed expectation when multiple paths are passed …
Browse files Browse the repository at this point in the history
…to joinpath. Ref #64.
  • Loading branch information
jaraco committed Oct 25, 2020
1 parent b31acb5 commit 484aaca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test_zipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ def test_joinpath(self, alpharep):
e = root.joinpath("b").joinpath("d").joinpath("e.txt")
assert e.read_text() == "content of e"

@pass_alpharep
def test_joinpath_multiple(self, alpharep):
root = zipp.Path(alpharep)
e = root.joinpath("b", "d", "e.txt")
assert e.read_text() == "content of e"

@pass_alpharep
def test_traverse_truediv(self, alpharep):
root = zipp.Path(alpharep)
Expand Down

0 comments on commit 484aaca

Please sign in to comment.