llm-chat/tests/conftest.py

8 lines
130 B
Python

import pytest
import os
@pytest.fixture(autouse=True)
def mock_openai_api_key():
os.environ["OPENAI_API_KEY"] = "dummy_key"