Add Pleroma.Utils.command_available?/1 and use where appropriate
This commit is contained in:
parent
11dd29ef3f
commit
aedbbec88a
4 changed files with 28 additions and 4 deletions
|
|
@ -7,6 +7,8 @@ defmodule Pleroma.Upload.Filter.ExiftoolTest do
|
|||
alias Pleroma.Upload.Filter
|
||||
|
||||
test "apply exiftool filter" do
|
||||
assert Pleroma.Utils.command_available?("exiftool")
|
||||
|
||||
File.cp!(
|
||||
"test/fixtures/DSCN0010.jpg",
|
||||
"test/fixtures/DSCN0010_tmp.jpg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue