From 34dac5f86f8a31e1f1f9bb50e6ac66cd2e62be4c Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Fri, 1 Mar 2024 14:20:15 +0100 Subject: [PATCH] Update test_pipeline.py (#7284) --- test/core/pipeline/test_pipeline.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/core/pipeline/test_pipeline.py b/test/core/pipeline/test_pipeline.py index 03a159df6..48096276c 100644 --- a/test/core/pipeline/test_pipeline.py +++ b/test/core/pipeline/test_pipeline.py @@ -659,9 +659,3 @@ def test_describe_no_outputs(): def test_from_template(): pipe = Pipeline.from_template(PredefinedPipeline.INDEXING) assert pipe.get_component("cleaner") - with pytest.raises(ValueError): - pipe.get_component("pdf_file_converter") - - pipe = Pipeline.from_template(PredefinedPipeline.INDEXING, template_params={"use_pdf_file_converter": True}) - assert pipe.get_component("cleaner") - assert pipe.get_component("pdf_file_converter")