Mercurial > kallithea
annotate 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 |
rev | line source |
---|---|
188
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 from pylons_app.tests import * |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 class TestLoginController(TestController): |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 def test_index(self): |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 response = self.app.get(url(controller='login', action='index')) |
8337dd6492a9
logins controller test
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 # Test response... |