diff --git a/netbox/core/tests/test_views.py b/netbox/core/tests/test_views.py index 3c847e4ef..01912b4d6 100644 --- a/netbox/core/tests/test_views.py +++ b/netbox/core/tests/test_views.py @@ -308,6 +308,7 @@ class BackgroundTaskTestCase(TestCase): worker = get_worker('default') job = queue.enqueue(self.dummy_job_default) worker.prepare_job_execution(job) + worker.prepare_execution(job) self.assertEqual(job.get_status(), JobStatus.STARTED) diff --git a/requirements.txt b/requirements.txt index f7ec953c1..61dbd8280 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ django-pglocks==1.0.4 django-prometheus==2.3.1 django-redis==5.4.0 django-rich==1.12.0 -django-rq==2.10.2 +django-rq==3.0 django-taggit==6.1.0 django-tables2==2.7.0 django-timezone-field==7.0 @@ -28,7 +28,7 @@ Pillow==11.0.0 psycopg[c,pool]==3.2.3 PyYAML==6.0.2 requests==2.32.3 -rq==1.16.2 +rq==2.0 social-auth-app-django==5.4.2 social-auth-core==4.5.4 strawberry-graphql==0.247.0