ref: Remove autouse from pytest client fixture (#4158)

Remove autouse from pytest client fixture
This commit is contained in:
Christophe Bornet 2024-10-16 00:55:10 +02:00 • committed by GitHub
commit 047077cee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 17 additions and 190 deletions

View file

@ -1,15 +1,9 @@
from collections.abc import Callable
import pytest
from langflow.components.inputs.ChatInput import ChatInput
@pytest.fixture
def client():
pass
def test_component_to_toolkit():
chat_input = ChatInput()
tools = chat_input.to_toolkit()

View file

@ -9,11 +9,6 @@ from langflow.components.outputs import ChatOutput
from langflow.template.field.base import Output
@pytest.fixture
def client():
pass
def test_set_invalid_output():
chatinput = ChatInput()
chatoutput = ChatOutput()