#NEWLINE# def test_access_token_backend( self ) : #NEWLINE# #INDENT# user = self . get_user ( ) #NEWLINE# client = self . get_client ( ) #NEWLINE# backend = AccessTokenBackend ( ) #NEWLINE# token = AccessToken . objects . create ( user = user , client = client ) #NEWLINE# authenticated = backend . authenticate ( access_token = token . token , client = client ) #NEWLINE# self . assertIsNotNone ( authenticated )