Skip to content

Commit

Permalink
Use an old-style OSDF origin
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhlin committed May 29, 2024
1 parent 0b5b577 commit 1ae9ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "ap20.uc.osg-htc.org" # This origin serves protected data
response = client.get("/origin/grid-mapfile")
assert response.status_code == 400 # fqdn not specified

Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_stashcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "ap20.uc.osg-htc.org",
suppress_errors=False)
num_mappings = 0
for line in text.split("\n"):
Expand Down

0 comments on commit 1ae9ac9

Please sign in to comment.