Skip to content

Commit

Permalink
update test_snapshot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhailin committed Jun 14, 2024
1 parent 189c7fa commit 66171db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_save_as_text(self):
os.unlink("test_txt.txt")

def test_save_as(self):
with open("test/fixtures/img1.jpg", "rb") as f:
with open("fixtures/img1.jpg", "rb") as f:
image_bytes = f.read()
save_as(image_data=image_bytes, output_name="test_pdf.pdf", file_type="pdf")
os.unlink("test_pdf.pdf")
Expand Down

0 comments on commit 66171db

Please sign in to comment.