mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-06 23:03:54 +00:00
Update test_pipeline.py (#7284)
This commit is contained in:
parent
7ffb21d1b8
commit
34dac5f86f
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user