#NEWLINE# def test_make_token( self ) : #NEWLINE# #INDENT# '\n        Ensure that we can make a token and that it is valid\n        ' #NEWLINE# user = User . objects . create_user ( 'tokentestuser' , 'test2@example.com' , 'testpw' ) #NEWLINE# p0 = PasswordResetTokenGenerator ( ) #NEWLINE# tk1 = p0 . make_token ( user ) #NEWLINE# self . assertTrue ( p0 . check_token ( user , p0 ) )