From ebc38d395c0ef454eb00764c0381d076c1fd7e6c Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Thu, 24 Jul 2025 07:14:48 -0400 Subject: [PATCH] Fix ffmpeg mock --- test/test_songs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_songs.py b/test/test_songs.py index dc508a0..3fa526f 100644 --- a/test/test_songs.py +++ b/test/test_songs.py @@ -14,7 +14,7 @@ def _create_fake_mp3_and_return(returncode): if subprocess_args[0] == "ffmpeg": # Create "fake" mp3 file by just copying input file output_filename = subprocess_args[-1] - input_filename = subprocess_args[-2] + input_filename = subprocess_args[2] with open(input_filename, "rb") as infile, open(output_filename, "wb") as outfile: outfile.write(infile.read()) -- 2.39.5