Skip to content

Commit

Permalink
[#2216] Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Mar 18, 2015
1 parent a6541f3 commit d42829b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/example_igroupform/tests/test_controllers.py
Expand Up @@ -44,7 +44,8 @@ def test_save(self):

response = submit_and_follow(app, form, env, 'save')
# check correct redirect
assert_in(response.req.url, '/%s/saved' % group_type)
assert_equal(response.req.url,
'http://localhost/%s/saved' % group_type)
# check saved ok
group = model.Group.by_name(u'saved')
assert_equal(group.title, u'')
Expand Down

0 comments on commit d42829b

Please sign in to comment.