Skip to content

Commit

Permalink
skip test if missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
ion2088 committed Feb 20, 2024
1 parent 635083e commit d3ff687
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/test_learning.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
import os

import pytest

from firedust.assistant import Assistant


@pytest.mark.skipif(
os.environ.get("FIREDUST_API_KEY") is None,
reason="The environment variable FIREDUST_API_KEY is not set.",
)
def test_learn_fast() -> None:
text = """
Demand for our data center systems and products has surged over the last three quarters and our demand visibility extends into next year. To
Expand Down

0 comments on commit d3ff687

Please sign in to comment.