--- tests/unit/test_incoming_command.py | 1 - tests/unit/test_lock_key_commands.py | 1 - tests/unit/test_numlock_command.py | 1 - tests/unit/test_output_manager.py | 1 - tests/unit/test_progress_detector.py | 1 - tests/unit/test_review_screen_boundary_sounds.py | 1 - tests/unit/test_review_spelling_commands.py | 4 ++-- tests/unit/test_tab_completion_manager.py | 1 - tests/unit/test_time_command.py | 1 - tests/unit/test_toggle_vmenu_command.py | 1 - 10 files changed, 2 insertions(+), 11 deletions(-) --- a/tests/unit/test_incoming_command.py +++ b/tests/unit/test_incoming_command.py @@ -12,7 +12,6 @@ import pytest def _load_incoming_module(): module_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onScreenUpdate" --- a/tests/unit/test_lock_key_commands.py +++ b/tests/unit/test_lock_key_commands.py @@ -8,7 +8,6 @@ import pytest def load_lock_command(command_file): command_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onKeyInput" --- a/tests/unit/test_numlock_command.py +++ b/tests/unit/test_numlock_command.py @@ -8,7 +8,6 @@ import pytest def load_numlock_command(): command_path = ( Path(__file__).parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onKeyInput" --- a/tests/unit/test_output_manager.py +++ b/tests/unit/test_output_manager.py @@ -42,7 +42,6 @@ def build_output_manager(): def load_key_interrupt_module(): module_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onKeyInput" --- a/tests/unit/test_progress_detector.py +++ b/tests/unit/test_progress_detector.py @@ -8,7 +8,6 @@ import pytest def _load_progress_module(): module_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onScreenUpdate" --- a/tests/unit/test_tab_completion_manager.py +++ b/tests/unit/test_tab_completion_manager.py @@ -39,7 +39,6 @@ def _build_env(old_text="", cursor=None, def _load_large_insertion_module(): module_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onCursorChange" --- a/tests/unit/test_time_command.py +++ b/tests/unit/test_time_command.py @@ -11,7 +11,6 @@ from unittest.mock import Mock def _load_time_module(): module_path = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "onHeartBeat" --- a/tests/unit/test_review_screen_boundary_sounds.py +++ b/tests/unit/test_review_screen_boundary_sounds.py @@ -9,7 +9,6 @@ from fenrirscreenreader.utils import cha COMMANDS_DIR = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "commands" --- a/tests/unit/test_review_spelling_commands.py +++ b/tests/unit/test_review_spelling_commands.py @@ -9,9 +9,9 @@ from fenrirscreenreader.core.inputManage PROJECT_ROOT = Path(__file__).resolve().parents[2] COMMANDS_DIR = ( - PROJECT_ROOT / "src" / "fenrirscreenreader" / "commands" / "commands" + PROJECT_ROOT / "fenrirscreenreader" / "commands" / "commands" ) -KEYBOARD_DIR = PROJECT_ROOT / "config" / "keyboard" +KEYBOARD_DIR = PROJECT_ROOT / ".." / ".." / ".." / "config" / "keyboard" def load_command(name): --- a/tests/unit/test_toggle_vmenu_command.py +++ b/tests/unit/test_toggle_vmenu_command.py @@ -7,7 +7,6 @@ import pytest COMMAND_PATH = ( Path(__file__).resolve().parents[2] - / "src" / "fenrirscreenreader" / "commands" / "commands"