From 332da3c3ea3a0caa53d2d90fa9bf5d0fdcb5ddfc Mon Sep 17 00:00:00 2001 From: Carles Onielfa Date: Tue, 14 Jan 2025 11:20:58 +0100 Subject: [PATCH] More coverage --- nucliadb/tests/nucliadb/integration/test_ask.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nucliadb/tests/nucliadb/integration/test_ask.py b/nucliadb/tests/nucliadb/integration/test_ask.py index ca6353ef72..857b859666 100644 --- a/nucliadb/tests/nucliadb/integration/test_ask.py +++ b/nucliadb/tests/nucliadb/integration/test_ask.py @@ -156,7 +156,8 @@ async def graph_resource(nucliadb_writer, nucliadb_grpc, knowledgebox): to=nodes["inception"], relation_label="directed", metadata=RelationMetadata( - paragraph_id=rid + "/t/inception1/0-37", + # Set this field id as int enum value since this is how legacy relations reported paragraph_id + paragraph_id=rid + "/4/inception1/0-37", data_augmentation_task_id="my_graph_task_id", ), ),