Skip to content

Commit

Permalink
Tests: Adaptation to Scheduler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Oct 26, 2024
1 parent 50d2018 commit ab219d8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions arc/scheduler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,13 +695,8 @@ def test_check_rxn_e0_by_spc(self):
'arc_project_for_testing_delete_after_usage6'),
)
job_1.local_path_to_output_file = os.path.join(ARC_PATH, 'arc', 'testing', 'freq', 'TS_nC3H7-iC3H7.out')
check_ts(reaction=rxn, verbose=True, job=job_1, checks=['freq'])
self.assertEqual(rxn.ts_species.ts_checks,
{'E0': None, 'e_elect': True, 'IRC': None, 'freq': True, 'NMD': True, 'warnings': ''})

sched.check_rxn_e0_by_spc('TS0')
self.assertEqual(rxn.ts_species.ts_checks,
{'E0': True, 'e_elect': True, 'IRC': None, 'freq': True, 'NMD': True, 'warnings': ''})
check_ts(reaction=rxn, verbose=True, job=job_1, checks=['NMD'])
self.assertEqual(rxn.ts_species.ts_checks, {'E0': None, 'e_elect': True, 'IRC': None, 'freq': True, 'NMD': False, 'warnings': ''})

def test_save_e_elect(self):
"""Test the save_e_elect() method."""
Expand Down

0 comments on commit ab219d8

Please sign in to comment.