Skip to content

Commit b42764f

Browse files
JacksonBurnsChrisBNEU
authored andcommitted
move rmsyaml test to the rmg functional tests
1 parent 860e86c commit b42764f

2 files changed

Lines changed: 6 additions & 13 deletions

File tree

test/rmgpy/rmg/inputTest.py

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

9595

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

test/rmgpy/rmg/mainTest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ def test_rmg_execute(self):
8787
assert isinstance(self.rmg.database, RMGDatabase)
8888
assert self.rmg.done
8989

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

0 commit comments

Comments
 (0)