diff --git a/ffmpeg_handling/.vscode/launch.json b/ffmpeg_handling/.vscode/launch.json index 19bdf85..0328c31 100644 --- a/ffmpeg_handling/.vscode/launch.json +++ b/ffmpeg_handling/.vscode/launch.json @@ -8,7 +8,7 @@ "program": "${workspaceFolder}/main.py", "args": [ "info", - "${workspaceFolder}/testfiles/test_auto.mkv" + "${workspaceFolder}/../testassets/ffmpeg_handling/test_auto.mkv" ], "cwd": "${workspaceFolder}", "python": "${workspaceFolder}/.venv/bin/python3", diff --git a/ffmpeg_handling/tests/test_cli.py b/ffmpeg_handling/tests/test_cli.py index 8ddffa7..a043bf1 100644 --- a/ffmpeg_handling/tests/test_cli.py +++ b/ffmpeg_handling/tests/test_cli.py @@ -5,7 +5,7 @@ from unittest.mock import patch from ffmpeg_handling import build_parser, main -ASSET_DIR = Path(__file__).resolve().parents[1] / "testfiles" +ASSET_DIR = Path(__file__).resolve().parents[2] / "testassets" / "ffmpeg_handling" class CliTests(unittest.TestCase): diff --git a/ffmpeg_handling/tests/test_media_commands.py b/ffmpeg_handling/tests/test_media_commands.py index 4fb3fef..af9e408 100644 --- a/ffmpeg_handling/tests/test_media_commands.py +++ b/ffmpeg_handling/tests/test_media_commands.py @@ -23,7 +23,7 @@ from ffmpeg_handling.video_commands import ( cmd_remove_subs, ) -ASSET_DIR = Path(__file__).resolve().parents[1] / "testfiles" +ASSET_DIR = Path(__file__).resolve().parents[2] / "testassets" / "ffmpeg_handling" def command_args(input_path: Path, output_path: Path, **values):