diff --git a/lms/djangoapps/discussion/django_comment_client/base/tests.py b/lms/djangoapps/discussion/django_comment_client/base/tests.py index 3861a6842874..d450998a60c6 100644 --- a/lms/djangoapps/discussion/django_comment_client/base/tests.py +++ b/lms/djangoapps/discussion/django_comment_client/base/tests.py @@ -1451,7 +1451,6 @@ def setUpClass(cls): @classmethod def setUpTestData(cls): super().setUpTestData() - cls.course = CourseFactory.create() cls.password = "test password" seed_permissions_roles(cls.course.id) diff --git a/lms/djangoapps/verify_student/management/commands/tests/test_manual_verify_student.py b/lms/djangoapps/verify_student/management/commands/tests/test_manual_verify_student.py index 9edcb6ab49dd..5ce26eeec2b8 100644 --- a/lms/djangoapps/verify_student/management/commands/tests/test_manual_verify_student.py +++ b/lms/djangoapps/verify_student/management/commands/tests/test_manual_verify_student.py @@ -77,7 +77,7 @@ def test_manual_verifications_created_date(self): created_at__gte=earliest_allowed_verification_date() ) - self.assertQuerysetEqual(verification1, [repr(r) for r in verification2]) + self.assertQuerysetEqual(verification1, [repr(r) for r in verification2], transform=repr) def test_user_doesnot_exist_log(self): """