diff options
author | James R. Barlow <jim@purplerock.ca> | 2019-04-24 02:42:14 -0700 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2019-04-24 02:42:14 -0700 |
commit | 0c4b0ebad54784b3d946cc75c572c2c22e0c9f64 (patch) | |
tree | 08981e5aa4f58cb240f9eea8aa2e5101c0d2f783 /tests | |
parent | f5179cf31c6bf682b283757ee8cd47a953142f1e (diff) |
Fix PdfImage.extract_to(filepath=) would write to wrong location
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_image_access.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_image_access.py b/tests/test_image_access.py index 037c5fc..3edb7cc 100644 --- a/tests/test_image_access.py +++ b/tests/test_image_access.py @@ -284,6 +284,7 @@ def test_extract_filepath(congress, outdir): result = pim.extract_to(fileprefix=(outdir / 'image')) assert Path(result).exists() + assert (outdir / 'image.jpg').exists() def test_extract_direct_fails_nondefault_colortransform(congress): |