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:
@@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user