comparison pylons_app/tests/functional/test_admin_settings.py @ 534:12c976209b2e

fixed test for new version 100% test are ok
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 01 Oct 2010 02:19:34 +0200
parents 53aa1ee1af86
children
comparison
equal deleted inserted replaced
533:53aa1ee1af86 534:12c976209b2e
55 self.log_user() 55 self.log_user()
56 new_email = 'new@mail.pl' 56 new_email = 'new@mail.pl'
57 response = self.app.post(url('admin_settings_my_account_update'), params=dict( 57 response = self.app.post(url('admin_settings_my_account_update'), params=dict(
58 _method='put', 58 _method='put',
59 username='test_admin', 59 username='test_admin',
60 new_password='test', 60 new_password='test12',
61 password='', 61 password='',
62 name='NewName', 62 name='NewName',
63 lastname='NewLastname', 63 lastname='NewLastname',
64 email=new_email,)) 64 email=new_email,))
65 response.follow() 65 response.follow()