Skip to content

Commit

Permalink
Use assertNotEqual instead of assertNotEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Oct 23, 2023
1 parent 7e5fd34 commit c492ad1
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 @@ -53,7 +53,7 @@ def test_can_update_exercise_base(self):
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)
Expand All @@ -67,7 +67,7 @@ def test_can_update_exercise(self):
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)
Expand Down

0 comments on commit c492ad1

Please sign in to comment.