#NEWLINE# def test_format_chronos_job_schedule( ) : #NEWLINE# #INDENT# example_job = { #NEWLINE# #INDENT# 'schedule' : 'R/2015-04-20T23:20:00+00:00/PT60M' , #NEWLINE# 'epsilon' : 'PT42S' , #NEWLINE# 'schedule' : 'foo' , #NEWLINE# #UNINDENT# } #NEWLINE# running_tasks = [ ] #NEWLINE# verbose = False #NEWLINE# actual = chronos_serviceinit . format_chronos_job_status ( example_job , running_tasks , verbose ) #NEWLINE# assert ( example_job [ 'schedule' ] in actual ) #NEWLINE# assert ( example_job [ 'epsilon' ] in actual )