Skip to content

Commit 9722fe0

Browse files
committed
Tests: Detect successful MRCI run in Orca
1 parent c1c1b9a commit 9722fe0

File tree

2 files changed

+2173
-0
lines changed

2 files changed

+2173
-0
lines changed

arc/job/trsh_test.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ def test_determine_ess_status(self):
172172
self.assertEqual(keywords, list())
173173
self.assertEqual(error, "")
174174
self.assertEqual(line, "")
175+
path = os.path.join(self.base_path["orca"], "O2_MRCI.log")
176+
status, keywords, error, line = trsh.determine_ess_status(
177+
output_path=path, species_label="test", job_type="sp", software="orca"
178+
)
179+
self.assertEqual(status, "done")
180+
self.assertEqual(keywords, list())
181+
self.assertEqual(error, "")
182+
self.assertEqual(line, "")
175183

176184
# test detection of a successful job
177185
# notice that the log file in this example has a different format under the line

0 commit comments

Comments
 (0)