mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 08:23:43 +08:00
fix(tests): update DB2 vector store test description format
Fixes test_component_metadata assertion to match the actual component description format. The test was failing due to line wrapping differences in the multi-line description string. Fixes CI failure in PR #13163
This commit is contained in:
committed by
Dhruv Chaturvedi
parent
da4c9ab6bf
commit
8874451c7c
@ -85,9 +85,8 @@ class TestDB2VectorStoreComponent(ComponentTestBaseWithoutClient):
|
||||
comp = DB2VectorStoreComponent()
|
||||
assert comp.display_name == "IBM Db2 Vector Store"
|
||||
expected_desc = (
|
||||
"IBM Db2 Vector Store with search capabilities. "
|
||||
"Use Generic-typed global variables for connection parameters "
|
||||
"(database, hostname, username). Only password should use Credential-typed variables."
|
||||
"IBM Db2 Vector Store with search capabilities. Use Generic-typed global variables for "
|
||||
"connection parameters (database, hostname, username). Only password should use Credential-typed variables."
|
||||
)
|
||||
assert comp.description == expected_desc
|
||||
assert comp.icon == "DB2"
|
||||
|
||||
Reference in New Issue
Block a user