#NEWLINE# def test_retrieve( self ) : #NEWLINE# #INDENT# url = reverse ( 'api:accounts-detail' , kwargs = { #NEWLINE# #INDENT# 'pk' : 1337 , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = self . api_client . get ( url ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# url = reverse ( 'api:accounts-detail' , kwargs = { #NEWLINE# #INDENT# 'pk' : ( ( 2 ** 64 ) - 1 ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = self . api_client . get ( url ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# url = reverse ( 'api:accounts-detail' , kwargs = { #NEWLINE# #INDENT# 'pk' : 'abc' , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = self . api_client . get ( url ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_400_BAD_REQUEST )