def testFlagPostTwice(self):
        c = self.testFlagPost()
        self.client.post("/flag/%d/" % c.pk)
        self.client.post("/flag/%d/" % c.pk)
        self.assertEqual(c.flags.filter(flag=CommentFlag.SUGGEST_REMOVAL).count(), 1)
Test that the exp() function works properly.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/comment_tests/tests/moderation_view_tests.py/FlagViewTests.testFlagPostTwice--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/js/test_math.py/TestMathFuncs.test_exp