forked from enviPath/enviPy
[Feature] Threshold Warning + Cosmetics (#277)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#277
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user