Browse Source

[useradmin] Fix useradmin test after modal form changes

bc Wong 13 years ago
parent
commit
2057a73762
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/useradmin/src/useradmin/tests.py

+ 1 - 1
apps/useradmin/src/useradmin/tests.py

@@ -160,7 +160,7 @@ def test_group_admin():
 
 
   # Create a group
   # Create a group
   response = c.get('/useradmin/groups/new')
   response = c.get('/useradmin/groups/new')
-  assert_true("Create Group" in response.content)
+  assert_equal('/useradmin/groups/new', response.context['action'])
   c.post('/useradmin/groups/new', dict(name="testgroup"))
   c.post('/useradmin/groups/new', dict(name="testgroup"))
 
 
   # We should have an empty group in the DB now
   # We should have an empty group in the DB now