Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
refactor(tests): use enum values instead of string literals for status fields (#33441)
Niels Kaspers79a8747c1b9c
diff --git a/api/tests/test_containers_integration_tests/core/rag/pipeline/test_queue_integration.py b/api/tests/test_containers_integration_tests/core/rag/pipeline/test_queue_integration.pyindex cdf390b3272..a60159c66a2 100644--- a/api/tests/test_containers_integration_tests/core/rag/pipeline/test_queue_integration.py+++ b/api/tests/test_containers_integration_tests/core/rag/pipeline/test_queue_integration.py@@ -18,7 +18,7 @@ from faker import Fakerfrom core.rag.pipeline.queue import TaskWrapper, TenantIsolatedTaskQueuefrom extensions.ext_redis import redis_client-from models import Account, Tenant, TenantAccountJoin, TenantAccountRole+from models import Account, AccountStatus, Tenant, TenantAccountJoin, TenantAccountRole, TenantStatus@dataclass@@ -47,7 +47,7 @@ class TestTenantIsolatedTaskQueueIntegration:email=fake.email(),name=fake.name(),interface_language="en-US",- status="active",+ status=AccountStatus.ACTIVE,)db_session_with_containers.add(account)db_session_with_containers.commit()@@ -55,7 +55,7 @@ class TestTenantIsolatedTaskQueueIntegration:# Create tenanttenant = Tenant(name=fake.company(),- status="normal",+ status=TenantStatus.NORMAL,)db_session_with_containers.add(tenant)db_session_with_containers.commit()@@ -101,7 +101,7 @@ class TestTenantIsolatedTaskQueueIntegration:# Create second tenanttenant2 = Tenant(name=fake.company(),- status="normal",+ status=TenantStatus.NORMAL,)db_session_with_containers.add(tenant2)db_session_with_containers.commit()@@ -410,7 +410,7 @@ class TestTenantIsolatedTaskQueueCompatibility:email=fake.email(),name=fake.name(),interface_language="en-US",- status="active",+ status=AccountStatus.ACTIVE,)db_session_with_containers.add(account)db_session_with_containers.commit()@@ -418,7 +418,7 @@ class TestTenantIsolatedTaskQueueCompatibility:# Create tenanttenant = Tenant(name=fake.company(),- status="normal",+ status=TenantStatus.NORMAL,)db_session_with_containers.add(tenant)db_session_with_containers.commit()