Skip to content

Commit 42dd754

Browse files
committed
Ruff
1 parent 4255fcd commit 42dd754

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/unit/experimental/pipeline/test_kg_builder.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ async def test_knowledge_graph_builder_document_info_with_file(_: Mock) -> None:
5252
return_value=PipelineResult(run_id="test_run", result=None),
5353
) as mock_run:
5454
await kg_builder.run_async(
55-
file_path=file_path,
56-
document_metadata={"source": "google drive"}
55+
file_path=file_path, document_metadata={"source": "google drive"}
5756
)
5857

5958
pipe_inputs = mock_run.call_args[1]["data"]
6059
assert "pdf_loader" in pipe_inputs
61-
assert pipe_inputs["pdf_loader"] == {"filepath": file_path, "metadata": {"source": "google drive"}}
60+
assert pipe_inputs["pdf_loader"] == {
61+
"filepath": file_path,
62+
"metadata": {"source": "google drive"},
63+
}
6264
assert "extractor" not in pipe_inputs
6365

6466

0 commit comments

Comments
 (0)