🐛 fix(endpoints.py): skip processing empty custom_component_dict to prevent errors
🐛 fix(schemas.py): import field_validator from pydantic instead of Field 🐛 fix(base.py): return None if fields only contain _type key 🐛 fix(flow.py): set default value of description field to an empty string 🐛 fix(base.py): import validator from pydantic instead of field_validator 🐛 fix(conftest.py): change scope of client fixture to function and add autouse=True to ensure it runs for every test
This commit is contained in:
parent
2fe4b2ac44
commit
4345293a0a
6 changed files with 14 additions and 6 deletions
|
|
@ -108,7 +108,7 @@ def session_fixture():
|
|||
yield session
|
||||
|
||||
|
||||
@pytest.fixture(name="client")
|
||||
@pytest.fixture(name="client", scope="function", autouse=True)
|
||||
def client_fixture(session: Session):
|
||||
def get_session_override():
|
||||
return session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue