refactor: add fixtures for client in test files to speed them up (#3490)
refactor: Add fixtures for client in test files to speed them up
This commit is contained in:
parent
091baf7f33
commit
6d048b2d2c
9 changed files with 44 additions and 50 deletions
|
|
@ -7,6 +7,11 @@ from requests.exceptions import MissingSchema
|
|||
from langflow.utils.validate import create_function, execute_function, extract_function_name, validate_code
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def client():
|
||||
pass
|
||||
|
||||
|
||||
def test_create_function():
|
||||
code = """
|
||||
from pathlib import Path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue