Skip to content

Commit

Permalink
Fix script dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq authored Jan 22, 2025
1 parent e8405c5 commit 4433e5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/python_testing/test_testing/test_IDM_10_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ def create_read(include_reachable: bool = False, include_max_paths: bool = False
def main():
# TODO: add the same test for commands and features

with open('example_pics_xml_basic_info.xml') as f:
script_dir = Path(__file__).resolve().parent
with open(script_dir / 'example_pics_xml_basic_info.xml') as f:
pics = parse_pics_xml(f.read())
test_runner = MockTestRunner(Path(__file__).parent / '../TC_pics_checker.py',
test_runner = MockTestRunner(script_dir / '../TC_pics_checker.py',
'TC_PICS_Checker', 'test_TC_IDM_10_4', 0, pics)
failures = []

Expand Down

0 comments on commit 4433e5d

Please sign in to comment.