#NEWLINE# def test_list_args( self ) : #NEWLINE# #INDENT# path = '/?fields=4&foo=3&fields=2&bar=1' #NEWLINE# request = webob . Request . blank ( path ) #NEWLINE# expect_val = [ '2' , '4' ] #NEWLINE# actual_val = api_common . list_args ( request , 'fields' ) #NEWLINE# self . assertEqual ( expect_val , sorted ( actual_val ) )