Example #1
0
 def test_run_scheduled(self):
     run = {'scheduled': '2014-03-18 21:29:46.351053'}
     util.set_run_time_info(run)
     assert run['scheduled'] == '2014-03-18 21:29:46'
Example #2
0
 def test_run_started(self):
     run = {'started': '2014-03-18 21:29:46.351053', 'status': 'running'}
     util.set_run_time_info(run)
     assert 'runtime' in run