From d394b032d79f1329ae6a4df3cfa56c22757a2db7 Mon Sep 17 00:00:00 2001 From: BillSchumacher <34168009+BillSchumacher@users.noreply.github.com> Date: Sun, 16 Apr 2023 23:23:31 -0500 Subject: [PATCH] Fix test --- tests/test_commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_commands.py b/tests/test_commands.py index a1fe0cb5..4be41a90 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1,4 +1,5 @@ import shutil +import os import sys from pathlib import Path @@ -155,7 +156,7 @@ class TestCommandRegistry: registry = CommandRegistry() # Create a temp command file - src = Path("mocks/mock_commands.py") + src = Path(os.getcwd()) / "tests/mocks/mock_commands.py" temp_commands_file = tmp_path / "mock_commands.py" shutil.copyfile(src, temp_commands_file)