diff --git a/tests/v1_1/test_verification_reports.py b/tests/v1_1/test_verification_reports.py index 71b3683..945fe06 100644 --- a/tests/v1_1/test_verification_reports.py +++ b/tests/v1_1/test_verification_reports.py @@ -52,10 +52,11 @@ def test_historical_pin_evidence_reports_the_detected_change(tmp_path,change,lab def test_report_filename_limit_does_not_depend_on_destination_name(tmp_path): + from dx_productivity.trial_task_center.path_access import internal_path from dx_productivity.trial_task_center.verification.report import render_item_report path=tmp_path/('r'*235+'.html') assert render_item_report({},path)==path - assert path.read_text(encoding='utf-8').startswith('') + assert internal_path(path).read_text(encoding='utf-8').startswith('') assert list(tmp_path.iterdir())==[path]