-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12f2325
commit 3800548
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/python3 | ||
# This file was written by Damien Dart, <[email protected]>. This is | ||
# free and unencumbered software released into the public domain. For | ||
# more information, please refer to the accompanying "UNLICENCE" file. | ||
|
||
import re | ||
|
||
|
||
def test_imagemagick_has_pdf_and_webp_support(host): | ||
cmd = host.run("convert identify -list format") | ||
|
||
assert cmd.succeeded | ||
assert re.search(r"PDF\s*rw+", cmd.stdout) | ||
assert re.search(r"WEBP\s*rw[-+]", cmd.stdout) |