'Helper that sends a post to the dummy test methods and asserts that a
message with the level has appeared in the response.'

def send_message(self, level):

    action_data = {ACTION_CHECKBOX_NAME: [1], u'action': (u'message_%s' % level), u'index': 0}
    response = self.client.post(u'/test_admin/admin/admin_views/usermessenger/', action_data, follow=True)
    self.assertContains(response, (u'<li    class="%s">Test    %s</li>' % (level, level)), html=True)
