refactor: remove unnecessary 'client' fixture and update test durations (#4283)
* Remove unnecessary use of 'client' fixture in test_superuser * Remove unnecessary use of 'usefixtures' decorator in test files * Update test fixtures to improve test duration tracking * Remove unnecessary 'client' fixture from test cases
This commit is contained in:
parent
1ef1fcb515
commit
73b5cc0098
6 changed files with 601 additions and 605 deletions
|
|
@ -81,7 +81,7 @@ def test_component_tool():
|
|||
|
||||
|
||||
@pytest.mark.api_key_required
|
||||
@pytest.mark.usefixtures("_add_toolkit_output", "client")
|
||||
@pytest.mark.usefixtures("_add_toolkit_output")
|
||||
def test_component_tool_with_api_key():
|
||||
chat_output = ChatOutput()
|
||||
openai_llm = OpenAIModelComponent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue