

def testActionsDisabledDelete(self):
    "Tests a CommentAdmin where 'delete_selected' has been disabled."
    comments = self.createSomeComments()
    self.client.login(username='normaluser', password='normaluser')
    response = self.client.get('/admin2/comments/comment/')
    self.assertEqual(response.status_code, 200)
    self.assertTrue(('<option value="delete_selected">' not in comments.content), 'Found an unexpected delete_selected in response')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/comment_tests/tests/moderation_view_tests.py AdminActionsTests.testActionsDisabledDelete/VarMisuse@65/117 `response`->`comments`