view pylons_app/tests/functional/test_login.py @ 458:00f883abdb0c

fixed a bug when given wrong username at login broken in last reimplemntation of forms
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 05 Sep 2010 13:55:47 +0200
parents 8337dd6492a9
children e95621133eb6
line wrap: on
line source

from pylons_app.tests import *

class TestLoginController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='login', action='index'))
        # Test response...