fix: fix django 41 deprecation warnings (#33099)
This commit is contained in:
@@ -1451,7 +1451,6 @@ class TeamsPermissionsTestCase(ForumsEnableMixin, UrlResetMixin, SharedModuleSto
|
||||
@classmethod
|
||||
def setUpTestData(cls):
|
||||
super().setUpTestData()
|
||||
cls.course = CourseFactory.create()
|
||||
cls.password = "test password"
|
||||
seed_permissions_roles(cls.course.id)
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class TestVerifyStudentCommand(TestCase):
|
||||
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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user