

def tearDown(self):
    policies = Policy.objects.all()
    for policy in policies:
        policy.delete()
    courses = Course.objects.all()
    for course in courses:
        self.delete()
    User.objects.get(email=TEST_USER_EMAIL).delete()

dataset/ETHPy150Open AcademicsToday/py-academicstoday/academicstoday_project/student/tests/test_policy.py PolicyTestCase.tearDown/VarMisuse@51/56 `course`->`self`