#NEWLINE# def test_list_vifs_neutron_notimplemented( self ) : #NEWLINE# #INDENT# 'Tests that a 400 is returned when using neutron as the backend' #NEWLINE# self . mox . UnsetStubs ( ) #NEWLINE# self . flags ( use_neutron = True ) #NEWLINE# self . _set_controller ( ) #NEWLINE# self . stub_out ( 'nova.compute.api.API.get' , compute_api_get ) #NEWLINE# req = fakes . HTTPRequest . blank ( '' , version = req . wsgi_api_version ) #NEWLINE# self . assertRaises ( webob . exc . HTTPBadRequest , self . controller . index , req , FAKE_UUID )