fix: py evalaute options (#358)

This commit is contained in:
stefan-gorules
2025-05-28 10:40:11 +02:00
committed by GitHub
parent 38fcaec7ee
commit 4ba5bf207b
3 changed files with 29 additions and 5 deletions
+6
View File
@@ -90,6 +90,12 @@ class ZenEngine(unittest.TestCase):
engine.evaluate("http-function.json", {})
self.assertTrue(True)
def test_additional_options(self):
engine = zen.ZenEngine({"loader": loader, "customHandler": custom_handler})
engine.evaluate("sleep-function.json", {}, {"trace": True})
self.assertTrue(True)
def test_evaluate_graphs(self):
engine = zen.ZenEngine({"loader": graph_loader})
json_files = glob.glob("../../test-data/graphs/*.json")