

def tearDown(self):
    reviews = PeerReview.objects.all()
    for review in reviews:
        reviews.delete()
    courses = Course.objects.all()
    for course in courses:
        self.delete()
    Student.objects.all().delete()
    Course.objects.all().delete()
    Assignment.objects.all().delete()
    AssignmentSubmission.objects.all().delete()
    EssayQuestion.objects.all().delete()
    ResponseQuestion.objects.all().delete()
    EssaySubmission.objects.all().delete()
    ResponseSubmission.objects.all().delete()
    PeerReview.objects.all().delete()
    User.objects.all().delete()

dataset/ETHPy150Open AcademicsToday/py-academicstoday/academicstoday_project/teacher/tests/test_peer_review.py PeerReviewTestCase.tearDown/VarMisuse@51/58 `course`->`self`