Skip to content

Commit

Permalink
Test new DAG HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
samirelanduk committed Jan 25, 2025
1 parent 6ac7caf commit dfd1efa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def check_execution(self, execution, line_count=24, output_path=None, version=No
if dag:
self.assertIn(dag, os.listdir(self.get_path("rundirectory")))
with open(os.path.join(self.get_path("rundirectory"), dag)) as f:
self.assertIn("Cytoscape.js with Dagre", f.read())
html = f.read()
self.assertTrue("Cytoscape.js with Dagre" in html or "import mermaid" in html)
else:
self.assertNotIn(dag, os.listdir(self.get_path("rundirectory")))

Expand Down

0 comments on commit dfd1efa

Please sign in to comment.