def testApprovePermissions(self):
        self.createSomeComments()
        self.client.login(username="normaluser", password="normaluser")
        response = self.client.get("/approve/1/")
        self.assertEqual(response["Location"], "http://testserver/accounts/login/?next=/approve/1/")

        makeModerator("normaluser")
        response = self.client.get("/approve/1/")
        self.assertEqual(response.status_code, 200)
Returns the value generated for an AUTO_INCREMENT column
dataset/ETHPy150Open dcramer/django-compositepks/tests/regressiontests/comment_tests/tests/moderation_view_tests.py/ApproveViewTests.testApprovePermissions--crossover with--dataset/ETHPy150Open appnexus/schema-tool/schematool/mysql/connector/cursor.py/CursorBase.lastrowid