Skip to content

Commit

Permalink
chore: fix zenodo check
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Mar 6, 2022
1 parent f3a9eb3 commit ef0475c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common.py
Expand Up @@ -55,7 +55,7 @@ def has_gcloud_service_key():


def has_zenodo_token():
return "ZENODO_SANDBOX_PAT" in os.environ
return os.environ.get("ZENODO_SANDBOX_PAT")


gcloud = pytest.mark.skipif(
Expand All @@ -70,7 +70,7 @@ def has_zenodo_token():
ci = pytest.mark.skipif(not is_ci(), reason="not in CI")
not_ci = pytest.mark.skipif(is_ci(), reason="skipped in CI")

zenodo = pytest.mark.skipid(
zenodo = pytest.mark.skipif(
not has_zenodo_token(), reason="no ZENODO_SANDBOX_PAT provided"
)

Expand Down

0 comments on commit ef0475c

Please sign in to comment.