Mercurial > kallithea
diff rhodecode/tests/functional/test_admin_settings.py @ 782:51127b2efb33 beta
fixed broken test after latest changes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 27 Nov 2010 19:45:10 +0100 |
parents | 101a407827e8 |
children | ead7be02283b |
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_admin_settings.py Sat Nov 27 16:12:26 2010 +0100 +++ b/rhodecode/tests/functional/test_admin_settings.py Sat Nov 27 19:45:10 2010 +0100 @@ -71,7 +71,7 @@ email=new_email,)) response.follow() - assert 'Your account was updated succesfully' in response.session['flash'][0][1], 'no flash message about success of change' + assert 'Your account was updated successfully' in response.session['flash'][0][1], 'no flash message about success of change' user = self.sa.query(User).filter(User.username == 'test_admin').one() assert user.email == new_email , 'incorrect user email after update got %s vs %s' % (user.email, new_email) assert user.name == new_name, 'updated field mismatch %s vs %s' % (user.name, new_name) @@ -94,7 +94,7 @@ email=old_email,)) response.follow() - assert 'Your account was updated succesfully' in response.session['flash'][0][1], 'no flash message about success of change' + assert 'Your account was updated successfully' in response.session['flash'][0][1], 'no flash message about success of change' user = self.sa.query(User).filter(User.username == 'test_admin').one() assert user.email == old_email , 'incorrect user email after update got %s vs %s' % (user.email, old_email)