Revision b1697f6b

b/snf-astakos-app/astakos/im/tests/auth.py
571 571
        data = {'email': 'kpap@synnefo.org'}
572 572
        r = self.client.post(ui_url('local/password_reset'), data, follow=True)
573 573
        # she can't because account is not active yet
574
        self.assertContains(r, 'pending activation')
574
        self.assertContains(r, 'pending email verification')
575 575

  
576 576
        # moderation is enabled and an activation email has already been sent
577 577
        # so user can trigger resend of the activation email
......
583 583
        # also she cannot login
584 584
        data = {'username': 'kpap@synnefo.org', 'password': 'password'}
585 585
        r = self.client.post(ui_url('local'), data, follow=True)
586
        self.assertContains(r, 'Resend activation')
586
        self.assertContains(r, 'Resend verification')
587 587
        self.assertFalse(r.context['request'].user.is_authenticated())
588 588
        self.assertFalse('_pithos2_a' in self.client.cookies)
589 589

  

Also available in: Unified diff