def METHOD_NAME(self):
    self._create_generic_token_with_metadata(
        token='valid-token', user=self.testuser)
    with self.settings(
            DJANGO_CRADMIN_RESETPASSWORD_FINISHED_REDIRECT_URL='http://example.com'):
        response = self.client.post(self.__get_url('valid-token'), {
            'password1': 'newpassword',
            'password2': 'newpassword',
        })
    self.assertEqual(response.status_code, 302)
    self.assertEqual(response['location'], 'http://example.com')
    testuser = get_user_model().objects.get(pk=self.testuser.pk)
    self.assertTrue(testuser.check_password('newpassword'))