File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
tests/unit/experimental/pipeline Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments