Esempio n. 1
0
 def test_datetimes_with_divider_eu(self):
     dagu_exec = DaguExec(dagu_config=self.config)
     dates = self.datetimes_with_divider_eu
     for record in dates:
         dagu_exec.execute(record=record, target_format=self.target_format)
         result = dagu_exec.get_record()
         self.assertEqual(result, '1992/02/01')
Esempio n. 2
0
 def test_execute(self):
     dagu_exec = DaguExec(dagu_config=self.config)
     dagu_exec.execute(record=self.record, target_format=self.target_format)
     result = dagu_exec.get_record()
     self.assertEqual(result, '92/Jan/01')