From 049980f8547c6153789260309c0541d5c825075e Mon Sep 17 00:00:00 2001 From: Brian Lin Date: Wed, 29 May 2024 10:44:03 -0500 Subject: [PATCH] Use the new CHTC origin for Topology tests --- src/tests/test_api.py | 2 +- src/tests/test_stashcache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_api.py b/src/tests/test_api.py index a93672c9b2..231393ef70 100644 --- a/src/tests/test_api.py +++ b/src/tests/test_api.py @@ -203,7 +203,7 @@ def test_institution_accept_type(self, client: flask.Flask): def test_origin_grid_mapfile(self, client: flask.Flask): - TEST_ORIGIN = "origin-auth2001.chtc.wisc.edu" # This origin serves protected data + TEST_ORIGIN = "ospool-ap2140.chtc.wisc.edu" # This origin serves protected data response = client.get("/origin/grid-mapfile") assert response.status_code == 400 # fqdn not specified diff --git a/src/tests/test_stashcache.py b/src/tests/test_stashcache.py index 53c0d1b723..abb049833b 100644 --- a/src/tests/test_stashcache.py +++ b/src/tests/test_stashcache.py @@ -201,7 +201,7 @@ def test_origin_grid_mapfile_nohost(self, client: flask.Flask): assert EMPTY_LINE_REGEX.match(line), f'Unexpected text "{line}".\nFull text:\n{text}\n' def test_origin_grid_mapfile_with_host(self, client: flask.Flask): - text = stashcache.generate_origin_grid_mapfile(global_data, "origin-auth2001.chtc.wisc.edu", + text = stashcache.generate_origin_grid_mapfile(global_data, "ospool-ap2140.chtc.wisc.edu", suppress_errors=False) num_mappings = 0 for line in text.split("\n"):