Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

fix tests

thomashebrard6ec38a2dc372
diff --git a/tests/unit/pipelex/graph/test_reactflow_html.py b/tests/unit/pipelex/graph/test_reactflow_html.py
index 6886bb090..871aea026 100644
--- a/tests/unit/pipelex/graph/test_reactflow_html.py
+++ b/tests/unit/pipelex/graph/test_reactflow_html.py
@@ -94,7 +94,7 @@ class TestReactFlowHtml:
assert "Content-Security-Policy" not in html
def test_script_tag_count(self) -> None:
- """Verify exactly 3 closing script tags (graphspec, config, IIFE)."""
+ """Verify exactly 4 closing script tags (graphspec, config, elkjs CDN, IIFE)."""
html = generate_reactflow_html(self._empty_graphspec(), self._rf_config())
- assert html.count("</script>") == 3
+ assert html.count("</script>") == 4