Skip to content

Commit

Permalink
fixing path to test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed Apr 1, 2024
1 parent 065e5a4 commit d9ef200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/forensics/forensics.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def run(self, run_id: str, run_dir: str) -> int:
if testing_complete == ReturnCodes.TEST_RESULTS_FOUND:
self.logger.info('End of testing marker found for: %s', full_run_dir)

# parse the test reports found in <full_run_dir>\<test executor>\irods\test-reports\
# parse the test reports found in <full_run_dir>\<test executor>\test-reports\
ret_val = self.parse_test_reports(run_id, os.path.join(full_run_dir, executor))

# no need to continue
Expand Down Expand Up @@ -172,7 +172,7 @@ def parse_test_reports(self, run_id: str, full_run_dir: str) -> ReturnCodes:
ret_val: ReturnCodes = ReturnCodes.ERROR_RESULT_PARSE_FAILURE

# append the test reports directory to the path
test_reports_dir = os.path.join(full_run_dir, 'irods/test-reports/')
test_reports_dir = os.path.join(full_run_dir, 'test-reports/')

# check if the directory exists
if os.path.isdir(test_reports_dir):
Expand Down

0 comments on commit d9ef200

Please sign in to comment.