Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use assertNotEqual instead of assertNotEquals
Roland Geiderc492ad1f8df6
diff --git a/wger/exercises/tests/test_change_exercise_author.py b/wger/exercises/tests/test_change_exercise_author.pyindex 62c66cb39..917e4f515 100644--- a/wger/exercises/tests/test_change_exercise_author.py+++ b/wger/exercises/tests/test_change_exercise_author.py@@ -53,7 +53,7 @@ class ChangeExerciseAuthorTestCase(WgerTestCase):Test to ensure command can handle an exercise base id passed"""exercise_base = ExerciseBase.objects.get(id=2)- self.assertNotEquals(exercise_base.license_author, "tom")+ self.assertNotEqual(exercise_base.license_author, "tom")args = ["--author-name", "tom", "--exercise-base-id", "2"]call_command('change-exercise-author', *args, stdout=self.out, no_color=True)@@ -67,7 +67,7 @@ class ChangeExerciseAuthorTestCase(WgerTestCase):Test to ensure command can handle an exercise id passed"""exercise = Exercise.objects.get(id=1)- self.assertNotEquals(exercise.license_author, "tom")+ self.assertNotEqual(exercise.license_author, "tom")args = ["--author-name", "tom", "--exercise-id", "1"]call_command('change-exercise-author', *args, stdout=self.out, no_color=True)