diff --git a/ckan/tests/controllers/test_user.py b/ckan/tests/controllers/test_user.py index a1a59dc8f4a..b7e8fe7bdb8 100644 --- a/ckan/tests/controllers/test_user.py +++ b/ckan/tests/controllers/test_user.py @@ -55,7 +55,7 @@ def test_register_user_bad_password(self): form['password2'] = '' response = form.submit('save') - assert_true(response, 'The passwords you entered do not match') + assert_true('The passwords you entered do not match' in response) class TestLoginView(helpers.FunctionalTestBase):