#NEWLINE# def test_services_enable_with_invalid_binary( self ) : #NEWLINE# #INDENT# body = { #NEWLINE# #INDENT# 'host' : 'host1' , #NEWLINE# 'binary' : 'invalid' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( webob . exc . HTTPNotFound , body . controller . update , self . req , 'enable' , body = body )