

def test_no_error(self):
    shutil.copyfile(os.path.join(test_dir, 'hf_no_error.inp'), os.path.join(scr_dir, 'hf_no_error.inp'))
    shutil.copyfile(os.path.join(test_dir, 'hf_no_error.out'), os.path.join(scr_dir, 'hf_no_error.out'))
    h = QChemErrorHandler(input_file='hf_no_error.inp', output_file='hf_no_error.out')
    has_error = h.check()
    self.assertFalse(has_error)

dataset/ETHPy150Open materialsproject/custodian/custodian/qchem/tests/test_handlers.py QChemErrorHandlerTest.test_no_error/original