

def testFlagGet(self):
    'GET the flag view: render a confirmation page.'
    comments = comments.createSomeComments()
    pk = comments[0].pk
    self.client.login(username='normaluser', password='normaluser')
    response = self.client.get(('/flag/%d/' % pk))
    self.assertTemplateUsed(response, 'comments/flag.html')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/comment_tests/tests/moderation_view_tests.py FlagViewTests.testFlagGet/VarMisuse@14/34 `self`->`comments`