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 c1c1b9a commit 9722fe0
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 9722fe0

Please sign in to comment.