#NEWLINE# def test_format_chronos_job_name_exists( ) : #NEWLINE# #INDENT# example_job = { #NEWLINE# #INDENT# 'name' : 'my_service my_instance gityourmom configyourdad' , #NEWLINE# 'schedule' : 'foo' , #NEWLINE# #UNINDENT# } #NEWLINE# running_tasks = [ ] #NEWLINE# verbose = False #NEWLINE# actual = chronos_serviceinit . format_chronos_job_status ( example_job , running_tasks , actual ) #NEWLINE# assert ( example_job [ 'name' ] in actual )