#NEWLINE# def unittest( self , ctxt , build_id , git_info , name , base_image_id , source_format , image_format , assembly_id , test_cmd ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# assem = objects . registry . Assembly . get_by_id ( ctxt , assembly_id ) #NEWLINE# #UNINDENT# except exception . ObjectNotFound : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# with docker_handler . DockerHandler ( base_image_id , assem , 'custom' , 'swift' ) as lp_handler : #NEWLINE# #INDENT# self . _do_unittest ( ctxt , lp_handler , build_id , git_info , name , base_image_id , source_format , image_format , assembly_id , test_cmd )