From 6ab00b99b729265979b2ff8dc95ce9c0c405bdb9 Mon Sep 17 00:00:00 2001 From: Chris Gregory <8800689+gregorybchris@users.noreply.github.com> Date: Tue, 16 Apr 2024 14:20:39 -0700 Subject: [PATCH] Fixes for pytest markers and fixtures (#119) --- tests/conftest.py | 2 +- tests/pytest.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 394da0ce..7bfdbc15 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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 diff --git a/tests/pytest.ini b/tests/pytest.ini index c0d7df03..35334892 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -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