def test_frozen_job(self): h = FrozenJobErrorHandler() d = h.correct() self.assertEqual(d['errors'], ['Frozen job']) self.assertEqual(Incar.from_file("INCAR")['ALGO'], "Normal")
def test_frozen_job(self): h = FrozenJobErrorHandler() d = h.correct() self.assertEqual(d["errors"], ["Frozen job"]) self.assertEqual(Incar.from_file("INCAR")["ALGO"], "Normal")