Skip to content

Give the test harness the data folder, so path columns are comparable - #147

Merged
abrignoni merged 1 commit into
mainfrom
fix/test-harness-data-folder
Aug 25, 2026
Merged

Give the test harness the data folder, so path columns are comparable#147
abrignoni merged 1 commit into
mainfrom
fix/test-harness-data-folder

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Context.get_relative_path returns its argument unchanged when _data_folder is unset. The harness set the report folder, the seeker and files_found but never the data folder, so inside it that function did nothing: an artifact leaking an absolute path and one reporting an extraction-relative path recorded identical output, and no fixture could tell them apart.

Adds Context.set_data_folder, since the harness has no OutputParameters to pass.

This repo has no committed test cases, so no baseline changes. Added for parity with the iLEAPP and ALEAPP copies.

Context.get_relative_path returns its argument unchanged when _data_folder is
unset. The harness set the report folder, the seeker and files_found but never
the data folder, so inside it that function did nothing: an artifact leaking an
absolute path and one reporting an extraction-relative path recorded identical
output, and no fixture could tell them apart.

The case zip is extracted into temp_dir, so temp_dir is the harness equivalent
of the seeker's data folder. Adds Context.set_data_folder for the harness to say
so, since it has no OutputParameters to pass.

This repo has no committed test cases, so no baseline changes. Added for parity
with the iLEAPP and ALEAPP copies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit bc18112 into main Aug 25, 2026
8 checks passed
@abrignoni
abrignoni deleted the fix/test-harness-data-folder branch August 25, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant