Skip to content

Commit

Permalink
Tests: Detect successful MRCI run in Orca
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Aug 19, 2024
1 parent 9a4110f commit 4e76ded
Show file tree
Hide file tree
Showing 2 changed files with 2,173 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arc/job/trsh_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ def test_determine_ess_status(self):
self.assertEqual(keywords, list())
self.assertEqual(error, "")
self.assertEqual(line, "")
path = os.path.join(self.base_path["orca"], "O2_MRCI.log")
status, keywords, error, line = trsh.determine_ess_status(
output_path=path, species_label="test", job_type="sp", software="orca"
)
self.assertEqual(status, "done")
self.assertEqual(keywords, list())
self.assertEqual(error, "")
self.assertEqual(line, "")

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

0 comments on commit 4e76ded

Please sign in to comment.