We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 450f18d commit e3976d2Copy full SHA for e3976d2
1 file changed
tests/test_speech_engine_auth.py
@@ -188,7 +188,8 @@ def test_invalid_token(self) -> None:
188
189
class TestServerApiKeyRequirement:
190
@pytest.mark.asyncio
191
- async def test_raises_without_api_key(self) -> None:
+ async def test_raises_without_api_key(self, monkeypatch: pytest.MonkeyPatch) -> None:
192
+ monkeypatch.delenv("ELEVENLABS_API_KEY", raising=False)
193
from elevenlabs.speech_engine import SpeechEngineServer
194
195
server = SpeechEngineServer(port=0)
0 commit comments