def test_confirm_done(self):
        url, path = self._test_confirm_start()
        response = self.client.post(path, {'new_password1': 'anewpassword',
                                           'new_password2': 'anewpassword'})
        self.assertEqual(response.status_code, 302)

        response = self.client.get(response['Location'])

        self.assertIn('login_url', response.context)
Password reset complete page should be rendered with 'login_url'
dataset/ETHPy150Open fusionbox/django-authtools/tests/tests/tests.py/PasswordResetTest.test_confirm_done