1212def test_auto_deactivate (
1313 auto_deactivate , settings , django_capture_on_commit_callbacks
1414):
15- settings .CELERY_TASK_ALWAYS_EAGER = True
16- settings .CELERY_TASK_EAGER_PROPAGATES = True
15+ settings .LAMBDA_TASKS_EAGER = True
1716
1817 vus = VerificationUserSet .objects .create (auto_deactivate = auto_deactivate )
1918 u = UserFactory ()
@@ -34,8 +33,7 @@ def test_auto_deactivate(
3433def test_auto_deactivate_reverse (
3534 auto_deactivate , settings , django_capture_on_commit_callbacks
3635):
37- settings .CELERY_TASK_ALWAYS_EAGER = True
38- settings .CELERY_TASK_EAGER_PROPAGATES = True
36+ settings .LAMBDA_TASKS_EAGER = True
3937
4038 vus = VerificationUserSet .objects .create (auto_deactivate = auto_deactivate )
4139 u = UserFactory ()
@@ -56,8 +54,7 @@ def test_auto_deactivate_reverse(
5654def test_auto_deactivate_set (
5755 auto_deactivate , settings , django_capture_on_commit_callbacks
5856):
59- settings .CELERY_TASK_ALWAYS_EAGER = True
60- settings .CELERY_TASK_EAGER_PROPAGATES = True
57+ settings .LAMBDA_TASKS_EAGER = True
6158
6259 vus = VerificationUserSet .objects .create (auto_deactivate = auto_deactivate )
6360 u = UserFactory ()
@@ -78,8 +75,7 @@ def test_auto_deactivate_set(
7875def test_auto_deactivate_reverse_set (
7976 auto_deactivate , settings , django_capture_on_commit_callbacks
8077):
81- settings .CELERY_TASK_ALWAYS_EAGER = True
82- settings .CELERY_TASK_EAGER_PROPAGATES = True
78+ settings .LAMBDA_TASKS_EAGER = True
8379
8480 vus = VerificationUserSet .objects .create (auto_deactivate = auto_deactivate )
8581 u = UserFactory ()
0 commit comments