tests: Exclude convert check

This commit is contained in:
Dylan Araps 2017-07-23 21:10:42 +10:00
parent caacba6e15
commit 2fa6215b55

View File

@ -22,7 +22,7 @@ def imagemagick(color_count, img):
def gen_colors(img, color_count): def gen_colors(img, color_count):
"""Format the output from imagemagick into a list """Format the output from imagemagick into a list
of hex colors.""" of hex colors."""
if not shutil.which("convert"): if not shutil.which("convert"): # pragma: no cover
print("error: imagemagick not found, exiting...\n" print("error: imagemagick not found, exiting...\n"
"error: wal requires imagemagick to function.") "error: wal requires imagemagick to function.")
exit(1) exit(1)