Skip to content

Commit

Permalink
"Fix" get_ligo_dn_list test to work with the /igwn/kagra namespace
Browse files Browse the repository at this point in the history
that was added in opensciencegrid#3539
  • Loading branch information
matyasselmeci committed Dec 20, 2023
1 parent f4d8f44 commit d3a169d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/test_stashcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ def test_allowedVO_includes_ANY_for_ligo_inclusion(self, client: flask.Flask, mo

stashcache.generate_cache_authfile(global_data, "osg-sunnyvale-stashcache.nrp.internet2.edu")

assert spy.call_count == 5
assert spy.call_count == 6

def test_allowedVO_includes_LIGO_for_ligo_inclusion(self, client: flask.Flask, mocker: MockerFixture):
spy = mocker.spy(global_data, "get_ligo_dn_list")

stashcache.generate_cache_authfile(global_data, "stashcache.gwave.ics.psu.edu")

assert spy.call_count == 5
assert spy.call_count == 6

def test_allowedVO_excludes_LIGO_and_ANY_for_ligo_inclusion(self, client: flask.Flask, mocker: MockerFixture):
spy = mocker.spy(global_data, "get_ligo_dn_list")
Expand Down

0 comments on commit d3a169d

Please sign in to comment.