[Feature] Threshold Warning + Cosmetics (#277)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#277
This commit is contained in:
2025-12-20 02:11:47 +13:00
parent a4a4179261
commit 7c60a28801
10 changed files with 304 additions and 165 deletions

View File

@ -51,7 +51,9 @@ class SPathwayTest(TestCase):
None,
)
with patch.object(self.mock_setting, "expand", return_value=[pr]):
mock_val = {"rule_triggered": True, "transformations": [pr]}
with patch.object(self.mock_setting, "expand", return_value=mock_val):
spw.predict_step(from_depth=0)
self.assertEqual(len(spw.smiles_to_node.keys()), 4)
@ -72,7 +74,9 @@ class SPathwayTest(TestCase):
None,
)
with patch.object(self.mock_setting, "expand", return_value=[pr]):
mock_val = {"rule_triggered": True, "transformations": [pr]}
with patch.object(self.mock_setting, "expand", return_value=mock_val):
spw.predict_step(from_depth=0)
self.assertEqual(len(spw.smiles_to_node.keys()), 4)