Skip to content

Commit

Permalink
fixed live_keys fixture for GITHUB_ACTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Nov 5, 2024
1 parent fafd541 commit 6accbf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@


@pytest.fixture
def live_keys() -> None:
if os.name == "nt":
def live_keys():
if os.name == "nt" and not os.getenv("GITHUB_ACTIONS"):
fh = os.path.join(os.environ["USERPROFILE"], ".oclc/nyp_wc_test.json")
with open(fh, "r") as file:
data = json.load(file)
Expand Down

0 comments on commit 6accbf9

Please sign in to comment.