Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use assertEqual instead of assertEquals
Roland Geider981ecc986e59
diff --git a/wger/exercises/tests/test_change_exercise_author.py b/wger/exercises/tests/test_change_exercise_author.pyindex 917e4f515..11e04d83f 100644--- a/wger/exercises/tests/test_change_exercise_author.py+++ b/wger/exercises/tests/test_change_exercise_author.py@@ -60,7 +60,7 @@ class ChangeExerciseAuthorTestCase(WgerTestCase):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):"""@@ -74,4 +74,4 @@ class ChangeExerciseAuthorTestCase(WgerTestCase):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")