Skip to content

Commit

Permalink
fix: fix django 41 deprecation warnings (#33099)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Aug 28, 2023
1 parent 9281ea4 commit a0076c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit a0076c1

Please sign in to comment.