Debian Codegraph @

debian/patches/test-path

raw
1 ---
2 tests/unit/test_incoming_command.py | 1 -
3 tests/unit/test_lock_key_commands.py | 1 -
4 tests/unit/test_numlock_command.py | 1 -
5 tests/unit/test_output_manager.py | 1 -
6 tests/unit/test_progress_detector.py | 1 -
7 tests/unit/test_review_screen_boundary_sounds.py | 1 -
8 tests/unit/test_review_spelling_commands.py | 4 ++--
9 tests/unit/test_tab_completion_manager.py | 1 -
10 tests/unit/test_time_command.py | 1 -
11 tests/unit/test_toggle_vmenu_command.py | 1 -
12 10 files changed, 2 insertions(+), 11 deletions(-)
13
14 --- a/tests/unit/test_incoming_command.py
15 +++ b/tests/unit/test_incoming_command.py
16 @@ -12,7 +12,6 @@ import pytest
17 def _load_incoming_module():
18 module_path = (
19 Path(__file__).resolve().parents[2]
20 - / "src"
21 / "fenrirscreenreader"
22 / "commands"
23 / "onScreenUpdate"
24 --- a/tests/unit/test_lock_key_commands.py
25 +++ b/tests/unit/test_lock_key_commands.py
26 @@ -8,7 +8,6 @@ import pytest
27 def load_lock_command(command_file):
28 command_path = (
29 Path(__file__).resolve().parents[2]
30 - / "src"
31 / "fenrirscreenreader"
32 / "commands"
33 / "onKeyInput"
34 --- a/tests/unit/test_numlock_command.py
35 +++ b/tests/unit/test_numlock_command.py
36 @@ -8,7 +8,6 @@ import pytest
37 def load_numlock_command():
38 command_path = (
39 Path(__file__).parents[2]
40 - / "src"
41 / "fenrirscreenreader"
42 / "commands"
43 / "onKeyInput"
44 --- a/tests/unit/test_output_manager.py
45 +++ b/tests/unit/test_output_manager.py
46 @@ -42,7 +42,6 @@ def build_output_manager():
47 def load_key_interrupt_module():
48 module_path = (
49 Path(__file__).resolve().parents[2]
50 - / "src"
51 / "fenrirscreenreader"
52 / "commands"
53 / "onKeyInput"
54 --- a/tests/unit/test_progress_detector.py
55 +++ b/tests/unit/test_progress_detector.py
56 @@ -8,7 +8,6 @@ import pytest
57 def _load_progress_module():
58 module_path = (
59 Path(__file__).resolve().parents[2]
60 - / "src"
61 / "fenrirscreenreader"
62 / "commands"
63 / "onScreenUpdate"
64 --- a/tests/unit/test_tab_completion_manager.py
65 +++ b/tests/unit/test_tab_completion_manager.py
66 @@ -39,7 +39,6 @@ def _build_env(old_text="", cursor=None,
67 def _load_large_insertion_module():
68 module_path = (
69 Path(__file__).resolve().parents[2]
70 - / "src"
71 / "fenrirscreenreader"
72 / "commands"
73 / "onCursorChange"
74 --- a/tests/unit/test_time_command.py
75 +++ b/tests/unit/test_time_command.py
76 @@ -11,7 +11,6 @@ from unittest.mock import Mock
77 def _load_time_module():
78 module_path = (
79 Path(__file__).resolve().parents[2]
80 - / "src"
81 / "fenrirscreenreader"
82 / "commands"
83 / "onHeartBeat"
84 --- a/tests/unit/test_review_screen_boundary_sounds.py
85 +++ b/tests/unit/test_review_screen_boundary_sounds.py
86 @@ -9,7 +9,6 @@ from fenrirscreenreader.utils import cha
87
88 COMMANDS_DIR = (
89 Path(__file__).resolve().parents[2]
90 - / "src"
91 / "fenrirscreenreader"
92 / "commands"
93 / "commands"
94 --- a/tests/unit/test_review_spelling_commands.py
95 +++ b/tests/unit/test_review_spelling_commands.py
96 @@ -9,9 +9,9 @@ from fenrirscreenreader.core.inputManage
97
98 PROJECT_ROOT = Path(__file__).resolve().parents[2]
99 COMMANDS_DIR = (
100 - PROJECT_ROOT / "src" / "fenrirscreenreader" / "commands" / "commands"
101 + PROJECT_ROOT / "fenrirscreenreader" / "commands" / "commands"
102 )
103 -KEYBOARD_DIR = PROJECT_ROOT / "config" / "keyboard"
104 +KEYBOARD_DIR = PROJECT_ROOT / ".." / ".." / ".." / "config" / "keyboard"
105
106
107 def load_command(name):
108 --- a/tests/unit/test_toggle_vmenu_command.py
109 +++ b/tests/unit/test_toggle_vmenu_command.py
110 @@ -7,7 +7,6 @@ import pytest
111
112 COMMAND_PATH = (
113 Path(__file__).resolve().parents[2]
114 - / "src"
115 / "fenrirscreenreader"
116 / "commands"
117 / "commands"