Added support for ytdlp cache (#245)

This commit is contained in:
Kieran authored and GitHub committed 2024-05-15 13:17:11 -07:00
1 parent 8d9bd11882
commit dcf033f10a
2 files changed
+11 -1

No files matched your search

@@ -93,6 +93,12 @@ defmodule Pinchflat.YtDlp.CommandRunnerTest do
assert String.contains?(output, "--quiet")
end
test "sets the cache directory" do
assert {:ok, output} = Runner.run(@media_url, [], "")
assert String.contains?(output, "--cache-dir /tmp/test/tmpfiles/yt-dlp-cache")
end
end
describe "version/0" do