This is an automated email from the ASF dual-hosted git repository.

imbajin pushed a commit to branch goal-test
in repository https://gitbox.apache.org/repos/asf/hugegraph-ai.git

commit 95d6eaed08681df7c0d2c9d755685c422ad4830e
Author: imbajin <[email protected]>
AuthorDate: Sun May 31 12:48:38 2026 +0800

    refactor(llm): use service graph in boundary test
    
    - pass hugegraph_service to schema manager boundary test
    - avoid relying on PyHugeClient internal config fields
    - keep shared hugegraph_client fixture for graph operations
    - verify schema boundary path against HugeGraph 1.7.0
---
 hugegraph-llm/src/tests/integration/test_hugegraph_boundary.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hugegraph-llm/src/tests/integration/test_hugegraph_boundary.py 
b/hugegraph-llm/src/tests/integration/test_hugegraph_boundary.py
index e86dba15..581963a9 100644
--- a/hugegraph-llm/src/tests/integration/test_hugegraph_boundary.py
+++ b/hugegraph-llm/src/tests/integration/test_hugegraph_boundary.py
@@ -120,12 +120,12 @@ def _commit_quality_graph():
     return commit.run(data)
 
 
-def test_schema_manager_reads_real_schema(hugegraph_client):
+def test_schema_manager_reads_real_schema(hugegraph_client, hugegraph_service):
     from hugegraph_llm.operators.hugegraph_op.schema_manager import 
SchemaManager
 
     _create_quality_schema(hugegraph_client)
 
-    manager = SchemaManager(graph_name=hugegraph_client.cfg.graph_name)
+    manager = SchemaManager(graph_name=hugegraph_service.graph)
     context = manager.run({})
 
     assert "schema" in context

Reply via email to