Skip to content

Commit

Permalink
test: fix skip test check
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 21, 2023
1 parent 2dec28e commit e0714ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_load_whoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
has_whoop_config = load_config().get("data", {}).get("whoop", False)


@pytest.mark.skipif(has_whoop_config, reason="no whoop config")
@pytest.mark.skipif(not has_whoop_config, reason="no whoop config")
def test_load_whoop_heartrate():
df = load_heartrate_df()
print(df.head())


@pytest.mark.skipif(has_whoop_config, reason="no whoop config")
@pytest.mark.skipif(not has_whoop_config, reason="no whoop config")
def test_load_whoop_sleep():
df = load_sleep_df()
print(df.head())

0 comments on commit e0714ee

Please sign in to comment.