This commit is contained in:
BillSchumacher
2023-04-16 23:23:31 -05:00
parent 23d3dafc51
commit d394b032d7

View File

@@ -1,4 +1,5 @@
import shutil import shutil
import os
import sys import sys
from pathlib import Path from pathlib import Path
@@ -155,7 +156,7 @@ class TestCommandRegistry:
registry = CommandRegistry() registry = CommandRegistry()
# Create a temp command file # 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" temp_commands_file = tmp_path / "mock_commands.py"
shutil.copyfile(src, temp_commands_file) shutil.copyfile(src, temp_commands_file)