'Tests that password_reset flows work as expected if reuse config is missing, meaning
passwords can always be reused'

def test_allow_all_password_reuse(self):

    (student_email, _) = self._setup_user()
    user = User.objects.get(email=student_email)
    err_msg = 'You    are    re-using    a    password    that    you    have    used    recently.'
    token = default_token_generator.make_token(user)
    uidb36 = int_to_base36(user.id)
    resp = self.client.post('/password_reset_confirm/{0}-{1}/'.format(uidb36, token), {'new_password1': 'foo', 'new_password2': 'foo'}, follow=True)
    self.assertNotIn(err_msg, resp.content)
