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.
This commit is contained in:
cproudlock
2026-08-25 15:00:56 -04:00
parent 315d4f46ce
commit 52b9fa1ec1

View File

@@ -25,7 +25,10 @@ def _rewrite(*args, **kwargs):
return module.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(): def test_a_mapped_drive_path_becomes_its_unc_equivalent():