Skip to content

Commit

Permalink
Fixes for pytest markers and fixtures (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris authored Apr 16, 2024
1 parent 76f3d75 commit 6ab00b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def eval_data() -> EvalData:
def hume_api_key() -> str:
api_key = os.getenv("HUME_DEV_API_KEY")
if api_key is None:
raise ValueError("Cannot construct HumeBatchClient, HUME_DEV_API_KEY variable not set.")
raise ValueError("HUME_DEV_API_KEY environment variable is required.")
return api_key
2 changes: 1 addition & 1 deletion tests/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ log_cli_level = INFO
markers =
asyncio: Uses async features
batch: Uses the Hume batch API
service: Authenticates with Hume APIs using HUME_PLATFORM_API_KEY environment variable.
service: Authenticates with Hume APIs
stream: Uses the Hume streaming API
notebook: Example notebook tests

0 comments on commit 6ab00b9

Please sign in to comment.