'Tests a CommentAdmin where \'delete_selected\' has been disabled.'

def testActionsDisabledDelete(self):

    comments = self.createSomeComments()
    self.client.login(username=u'normaluser', password=u'normaluser')
    response = self.client.get(u'/admin2/comments/comment/')
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, u'<option    value="delete_selected">')
