Skip to content

Commit

Permalink
Update tests/test_entry.py iterator
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
  • Loading branch information
drernie and sir-sigurd authored Aug 17, 2023
1 parent 7b5cd29 commit 57d4edc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def test_write(entry):
with TemporaryDirectory() as tmpdir:
tmpdir_path = Path(tmpdir)
entry.write_files(tmpdir_path)
files = list(tmpdir_path.glob("*"))
fn = {f.name: f for f in files}
fn = {f.name: f for f in tmpdir_path.glob("*")}
assert "entry.json" in fn
assert "notes.pdf" in fn
notes = fn["notes.pdf"]
Expand Down

0 comments on commit 57d4edc

Please sign in to comment.