コード例 #1
0
 def test_frozen_job(self):
     h = FrozenJobErrorHandler()
     d = h.correct()
     self.assertEqual(d['errors'], ['Frozen job'])
     self.assertEqual(Incar.from_file("INCAR")['ALGO'], "Normal")
コード例 #2
0
ファイル: test_handlers.py プロジェクト: shyamd/custodian
 def test_frozen_job(self):
     h = FrozenJobErrorHandler()
     d = h.correct()
     self.assertEqual(d['errors'], ['Frozen job'])
     self.assertEqual(Incar.from_file("INCAR")['ALGO'], "Normal")
コード例 #3
0
 def test_frozen_job(self):
     h = FrozenJobErrorHandler()
     d = h.correct()
     self.assertEqual(d["errors"], ["Frozen job"])
     self.assertEqual(Incar.from_file("INCAR")["ALGO"], "Normal")