#NEWLINE# def test_image_filter_not_supported( self ) : #NEWLINE# #INDENT# image_service = self . mox . CreateMockAnything ( ) #NEWLINE# context = self . _get_fake_context ( ) #NEWLINE# filters = { #NEWLINE# #INDENT# 'status' : 'ACTIVE' , #NEWLINE# #UNINDENT# } #NEWLINE# image_service . detail ( context , filters = filters ) . AndReturn ( [ ] ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# request = webob . Request . blank ( '/v1.1/images?status=ACTIVE&UNSUPPORTEDFILTER=testname' ) #NEWLINE# request . environ [ 'nova.context' ] = context #NEWLINE# controller = images . ControllerV11 ( image_service = image_service ) #NEWLINE# controller . detail ( request ) #NEWLINE# self . mox . VerifyAll ( )