@@ -410,7 +410,7 @@ def test_admin_single_delete(self):
410410 # assert
411411 self .assertEqual (200 , res .status_code )
412412 self .assertEqual (prev_count , self .TaskModelClass .objects .count ())
413- self .assertEquals (prev - 1 , len (_get_executions (task )))
413+ self .assertEqual (prev - 1 , len (_get_executions (task )))
414414
415415 def test_admin_delete_selected (self ):
416416 # arrange
@@ -625,7 +625,7 @@ def test_check_rescheduled_after_execution(self):
625625 queue .run_sync (entry )
626626 task .refresh_from_db ()
627627 self .assertTrue (task .is_scheduled ())
628- self .assertNotEquals (task .job_id , first_run_id )
628+ self .assertNotEqual (task .job_id , first_run_id )
629629
630630 def test_check_rescheduled_after_execution_failed_job (self ):
631631 task = task_factory (self .TaskModelClass , callable_name = 'scheduler.tests.jobs.failing_job' ,
@@ -636,7 +636,7 @@ def test_check_rescheduled_after_execution_failed_job(self):
636636 queue .run_sync (entry )
637637 task .refresh_from_db ()
638638 self .assertTrue (task .is_scheduled ())
639- self .assertNotEquals (task .job_id , first_run_id )
639+ self .assertNotEqual (task .job_id , first_run_id )
640640
641641
642642class TestCronJob (BaseTestCases .TestBaseJob ):
@@ -670,4 +670,4 @@ def test_check_rescheduled_after_execution(self):
670670 queue .run_sync (entry )
671671 task .refresh_from_db ()
672672 self .assertTrue (task .is_scheduled ())
673- self .assertNotEquals (task .job_id , first_run_id )
673+ self .assertNotEqual (task .job_id , first_run_id )
0 commit comments