Skip to content

Commit c293c28

Browse files
committed
move rmsyaml test to the rmg functional tests
1 parent 42835ec commit c293c28

2 files changed

Lines changed: 6 additions & 13 deletions

File tree

rmgpy/rmg/inputTest.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,6 @@ def test_importing_database_reaction_libraries_from_true_tuple(self):
9494
self.assertTrue(rmg.reaction_libraries[0][1])
9595

9696

97-
class TestRMSYAMLWriterDisable(unittest.TestCase):
98-
"""
99-
Default behavior of RMG is to enable so test ability to disable
100-
"""
101-
102-
def test_disable_rms_yaml_writer(self):
103-
"""
104-
generateRMSEachIter = False in input should set the corresponding property in RMG instance
105-
"""
106-
global rmg
107-
self.assertFalse(rmg.generate_rms_each_iter)
108-
109-
11097
class TestInputMLEstimator(unittest.TestCase):
11198
"""
11299
Contains unit tests rmgpy.rmg.input.mlEstimator

rmgpy/rmg/mainTest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ def test_rmg_execute(self):
8888
self.assertIsInstance(self.rmg.database, RMGDatabase)
8989
self.assertTrue(self.rmg.done)
9090

91+
def test_disable_rms_yaml_writer(self):
92+
"""
93+
generateRMSEachIter = False in input should set the corresponding property in RMG instance
94+
"""
95+
self.assertFalse(self.rmg.generate_rms_each_iter)
96+
9197
def test_rmg_increases_reactions(self):
9298
"""Test that RMG.execute increases reactions and species."""
9399
self.assertTrue(len(self.rmg.reaction_model.core.reactions) > 0)

0 commit comments

Comments
 (0)