summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames R. Barlow <jim@purplerock.ca>2019-04-24 02:42:14 -0700
committerJames R. Barlow <jim@purplerock.ca>2019-04-24 02:42:14 -0700
commit0c4b0ebad54784b3d946cc75c572c2c22e0c9f64 (patch)
tree08981e5aa4f58cb240f9eea8aa2e5101c0d2f783 /tests
parentf5179cf31c6bf682b283757ee8cd47a953142f1e (diff)
Fix PdfImage.extract_to(filepath=) would write to wrong location
Diffstat (limited to 'tests')
-rw-r--r--tests/test_image_access.py1
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):