Skip to content

Commit

Permalink
Added missing test skips
Browse files Browse the repository at this point in the history
  • Loading branch information
miballe committed Sep 10, 2024
1 parent b68fffc commit 98c8a28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/taxonomy/test_factivataxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,22 @@
SAVE_PATH = os.getcwd()

def test_create_taxonomy_instance_env_user():
if GITHUB_CI:
pytest.skip("Not to be tested in GitHub Actions")
t = FactivaTaxonomy()
assert t.user_key.key == FACTIVA_USERKEY


def test_create_taxonomy_instance_str_user():
if GITHUB_CI:
pytest.skip("Not to be tested in GitHub Actions")
t = FactivaTaxonomy(user_key=FACTIVA_USERKEY)
assert t.user_key.key == FACTIVA_USERKEY


def test_create_taxonomy_instance_userkey_user():
if GITHUB_CI:
pytest.skip("Not to be tested in GitHub Actions")
u = UserKey()
t = FactivaTaxonomy(user_key=u)
assert t.user_key.key == FACTIVA_USERKEY
Expand Down

0 comments on commit 98c8a28

Please sign in to comment.