Skip to content

Commit

Permalink
[#2483] Fix assert to test for message in response
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Dec 18, 2015
1 parent 952afc4 commit 7bc46b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/controllers/test_user.py
Expand Up @@ -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):
Expand Down

0 comments on commit 7bc46b7

Please sign in to comment.