Skip to content

Commit

Permalink
Use assertEqual instead of assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Oct 23, 2023
1 parent ba49250 commit 981ecc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wger/exercises/tests/test_change_exercise_author.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_can_update_exercise_base(self):
self.assertIn('Exercise and/or exercise base has been updated', self.out.getvalue())

exercise_base = ExerciseBase.objects.get(id=2)
self.assertEquals(exercise_base.license_author, "tom")
self.assertEqual(exercise_base.license_author, "tom")

def test_can_update_exercise(self):
"""
Expand All @@ -74,4 +74,4 @@ def test_can_update_exercise(self):
self.assertIn('Exercise and/or exercise base has been updated', self.out.getvalue())

exercise = Exercise.objects.get(id=1)
self.assertEquals(exercise.license_author, "tom")
self.assertEqual(exercise.license_author, "tom")

0 comments on commit 981ecc9

Please sign in to comment.