Compare commits
2 Commits
5920766f42
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 08abfc8f4d | |||
| a138e33c04 |
@@ -340,8 +340,10 @@ class TestCompositeColor:
|
|||||||
|
|
||||||
output = output_dir / "fg.png"
|
output = output_dir / "fg.png"
|
||||||
assert output.is_file()
|
assert output.is_file()
|
||||||
result = run_command([magick, "identify", "-format", "%[type]", str(output)])
|
from PIL import Image
|
||||||
assert result.stdout.strip() != "Grayscale"
|
|
||||||
|
with Image.open(output) as img:
|
||||||
|
assert img.mode != "L"
|
||||||
|
|
||||||
|
|
||||||
has_workflow_tools = check_workflow_tools()
|
has_workflow_tools = check_workflow_tools()
|
||||||
|
|||||||
Reference in New Issue
Block a user