#NEWLINE# def filter_sort( self ) : #NEWLINE# #INDENT# queries = [ [ ( 'archived' , 'false' ) ] , [ ( 'unread' , 'true' ) , ( 'archived' , 'false' ) ] , [ ( '_sort' , '-last_modified' ) , ( 'archived' , 'true' ) ] , [ ( '_sort' , 'title' ) ] , [ ( '_sort' , '-added_by,-stored_on' ) , ( 'archived' , 'false' ) ] ] #NEWLINE# queryparams = random . choice ( queries ) #NEWLINE# query_url = '&' . join ( [ '=' . join ( param ) for param in queryparams ] ) #NEWLINE# url = self . api_url ( 'articles?{}' . format ( query_url ) ) #NEWLINE# resp = self . session . get ( url , auth = self . auth ) #NEWLINE# self . incr_counter ( resp . status_code ) #NEWLINE# self . assertEqual ( resp . status_code , 200 )