mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-27 23:18:37 +00:00
test: skip/remove some Pipeline.draw integration tests (#9108)
This commit is contained in:
parent
42c9350da1
commit
f9cce8bf30
@ -111,6 +111,7 @@ def test_to_mermaid_text_does_not_edit_graph():
|
||||
assert expected_pipe == pipe.to_dict()
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="This is a nice to have, but frequently fails due to mermaid.ink issues")
|
||||
@pytest.mark.integration
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
@ -142,20 +143,6 @@ def test_to_mermaid_image_invalid_format():
|
||||
_to_mermaid_image(pipe.graph, params={"format": "invalid_format"})
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
def test_to_mermaid_image_missing_theme():
|
||||
# Test default theme (neutral)
|
||||
pipe = Pipeline()
|
||||
pipe.add_component("comp1", Double())
|
||||
pipe.add_component("comp2", Double())
|
||||
pipe.connect("comp1", "comp2")
|
||||
|
||||
params = {"format": "img"}
|
||||
image_data = _to_mermaid_image(pipe.graph, params=params)
|
||||
|
||||
assert image_data # Ensure some data is returned
|
||||
|
||||
|
||||
def test_to_mermaid_image_invalid_scale():
|
||||
# Test invalid scale
|
||||
pipe = Pipeline()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user