Skip to content
Snippets Groups Projects
Unverified Commit 1772926d authored by James Briggs's avatar James Briggs
Browse files

chore: lint

parent d04b4af0
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,7 @@ def azure_openai_llm(mocker): ...@@ -13,9 +13,7 @@ def azure_openai_llm(mocker):
class TestOpenAILLM: class TestOpenAILLM:
def test_azure_openai_llm_init_with_api_key(self, azure_openai_llm): def test_azure_openai_llm_init_with_api_key(self, azure_openai_llm):
assert azure_openai_llm.client is not None, "Client should be initialized" assert azure_openai_llm.client is not None, "Client should be initialized"
assert ( assert azure_openai_llm.name == "gpt-4o", "Default name not set correctly"
azure_openai_llm.name == "gpt-4o"
), "Default name not set correctly"
def test_azure_openai_llm_init_success(self, mocker): def test_azure_openai_llm_init_success(self, mocker):
mocker.patch("os.getenv", return_value="fake-api-key") mocker.patch("os.getenv", return_value="fake-api-key")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment