#NEWLINE# def test_fixed_ip_reserve_bad_ip( self ) : #NEWLINE# #INDENT# body = { #NEWLINE# #INDENT# 'reserve' : None , #NEWLINE# #UNINDENT# } #NEWLINE# req = fakes . HTTPRequest . blank ( ( '%s/10.0.0.1/action' % body . url ) ) #NEWLINE# action = self . _get_reserve_action ( ) #NEWLINE# self . assertRaises ( webob . exc . HTTPNotFound , action , req , '10.0.0.1' , body = body )