Skip to content

Commit

Permalink
[#1117] Add another condition to a user_update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Aug 1, 2013
1 parent e947f4a commit 650807e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/new_tests/logic/action/test_update.py
Expand Up @@ -94,7 +94,7 @@ def test_user_update_with_invalid_name(self):
user = factories.User()

invalid_names = ('', 'a', False, 0, -1, 23, 'new', 'edit', 'search',
'a'*200, 'Hi!', )
'a'*200, 'Hi!', 'i++%')
for name in invalid_names:
user['name'] = name
nose.tools.assert_raises(logic.ValidationError,
Expand Down

0 comments on commit 650807e

Please sign in to comment.