#NEWLINE# def test_not_admin( self ) : #NEWLINE# #INDENT# body = { #NEWLINE# #INDENT# 'evacuate' : { #NEWLINE# #INDENT# 'host' : 'my-host' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( exception . PolicyNotAuthorized , body . controller . _evacuate , self . req , self . UUID , body = body )