From 52b9fa1ec19e3bc49d3089971ab8df2b5f6b6a19 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Tue, 25 Aug 2026 15:00:56 -0400 Subject: [PATCH] Keep the site hostname out of the repair script test The publication scrub gate rejects internal references, and a real site hostname in a test is still one in the published repo. The rewrite does not care which server it is. --- tests/test_fix_drive_letter_sharepaths.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_fix_drive_letter_sharepaths.py b/tests/test_fix_drive_letter_sharepaths.py index 46c25412..f2406fa9 100644 --- a/tests/test_fix_drive_letter_sharepaths.py +++ b/tests/test_fix_drive_letter_sharepaths.py @@ -25,7 +25,10 @@ def _rewrite(*args, **kwargs): return module.rewrite(*args, **kwargs) -UNC = r'\\tsgwp00525.wjs.geaerospace.net\shared\dt\shopfloor' +# Generic on purpose: a real site hostname in a test is still a site +# hostname in the published repo (ADR-015), and the rewrite does not care +# which server it is. +UNC = r'\\fileserver\share\path' def test_a_mapped_drive_path_becomes_its_unc_equivalent():