Skip to content

Commit 591afd0

Browse files
committed
add test that rms mechanism files are written
1 parent ae29f80 commit 591afd0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/rmgpy/rmg/mainTest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ def test_rmg_seed_edge_library_creation(self):
119119
"""Test that edge seed mechanisms are created in the correct database locations."""
120120
assert os.path.exists(self.seedKinetics)
121121

122+
def test_rmg_rms_mechanism_files_creation(self):
123+
"""Test that rms mechanisms are created in the correct location."""
124+
assert os.path.exists(os.path.join(self.testDir,self.outputDir,"rms"))
125+
assert len(os.listdir(os.path.exists(os.path.join(self.testDir,self.outputDir,"rms")))) != 0
126+
122127
def test_rmg_seed_works(self):
123128
"""Test that the created seed libraries work.
124129

0 commit comments

Comments
 (0)