Skip to content

Commit 981ecc9

Browse files
committed
Use assertEqual instead of assertEquals
1 parent ba49250 commit 981ecc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wger/exercises/tests/test_change_exercise_author.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_can_update_exercise_base(self):
6060
self.assertIn('Exercise and/or exercise base has been updated', self.out.getvalue())
6161

6262
exercise_base = ExerciseBase.objects.get(id=2)
63-
self.assertEquals(exercise_base.license_author, "tom")
63+
self.assertEqual(exercise_base.license_author, "tom")
6464

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

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

0 commit comments

Comments
 (0)