Skip to content

Commit

Permalink
Fix a broken activity streams test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Nov 5, 2012
1 parent 3d0361c commit be2505c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/tests/functional/test_activity.py
Expand Up @@ -137,23 +137,23 @@ def test_user_activity(self):
group = group_create(context, group)
result = self.app.get(offset, status=200)
stripped = self.strip_tags(result)
assert '%s created the group %s' % (user['fullname'], group['name']) \
assert '%s created the group %s' % (user['fullname'], group['title']) \
in stripped, stripped

# Update the group.
group['title'] = 'updated'
group = group_update(context, group)
result = self.app.get(offset, status=200)
stripped = self.strip_tags(result)
assert '%s updated the group %s' % (user['fullname'], group['name']) \
assert '%s updated the group %s' % (user['fullname'], group['title']) \
in stripped, stripped

# Delete the group.
group['state'] = 'deleted'
group_update(context, group)
result = self.app.get(offset, status=200)
stripped = self.strip_tags(result)
assert '%s deleted the group %s' % (user['fullname'], group['name']) \
assert '%s deleted the group %s' % (user['fullname'], group['title']) \
in stripped, stripped

# Add a new tag to the package.
Expand Down

0 comments on commit be2505c

Please sign in to comment.