#NEWLINE# def test_verify( self ) : #NEWLINE# #INDENT# token = self . client . generate_api_token ( self . user ) #NEWLINE# verify_token_url = reverse ( 'frontend-token-verify' ) #NEWLINE# response = self . client . post ( verify_token_url , data = { #NEWLINE# #INDENT# 'token' : token , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( response . status_code == 200 ) #NEWLINE# data = json . loads ( response . content ) #NEWLINE# assert ( data [ 'token' ] == token )