#NEWLINE# def testPostInstancesNoAuth( self ) : #NEWLINE# #INDENT# ( code , _ , _ ) = self . _Test ( http . HTTP_POST , '/2/instances' , '' , None , reqauth = True ) #NEWLINE# self . assertEqual ( _ , http . HttpUnauthorized . code )