Enhanced Component Testing & General Test Fixes (#1585)

This pull request introduces comprehensive new tests for our components,
significantly improving our project's test coverage. In addition to the
new component tests, this PR addresses and resolves several issues that
were affecting our general test suite, enhancing its reliability and
efficiency.
This commit is contained in:
Cristhian Zanforlin Lousa 2024-04-08 14:08:15 -03:00 • committed by GitHub
commit 452eb224d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 2472 additions and 640 deletions

View file

@ -22,6 +22,9 @@ from langflow.services.database.models.flow.model import Flow, FlowCreate
from langflow.services.database.models.user.model import User, UserCreate
from langflow.services.database.utils import session_getter
from langflow.services.deps import get_db_service
from sqlmodel import Session, SQLModel, create_engine, select
from sqlmodel.pool import StaticPool
from typer.testing import CliRunner
if TYPE_CHECKING:
from langflow.services.database.service import DatabaseService