#NEWLINE# def list_continuated_pagination( self ) : #NEWLINE# #INDENT# paginated_url = self . api_url ( 'articles?_limit=20' ) #NEWLINE# while paginated_url : #NEWLINE# #INDENT# resp = self . session . get ( paginated_url , auth = self . auth ) #NEWLINE# self . assertEqual ( resp . status_code , 200 ) #NEWLINE# next_page = resp . headers . get ( 'Next-Page' ) #NEWLINE# self . assertNotEqual ( paginated_url , next_page ) #NEWLINE# paginated_url = next_page