2023-03-30 10:31:37 +02:00
|
|
|
Index: celery-batches-0.7/t/integration/test_batches.py
|
2021-01-26 15:42:29 +01:00
|
|
|
===================================================================
|
2023-03-30 10:31:37 +02:00
|
|
|
--- celery-batches-0.7.orig/t/integration/test_batches.py
|
|
|
|
+++ celery-batches-0.7/t/integration/test_batches.py
|
|
|
|
@@ -6,11 +6,13 @@ from celery_batches import Batches, Simp
|
|
|
|
|
|
|
|
from celery import Celery, signals, states
|
2021-01-26 15:42:29 +01:00
|
|
|
from celery.app.task import Task
|
|
|
|
+from celery.contrib.pytest import *
|
2023-03-30 10:31:37 +02:00
|
|
|
from celery.contrib.testing.tasks import ping
|
|
|
|
from celery.contrib.testing.worker import TestWorkController
|
|
|
|
from celery.result import allow_join_result
|
|
|
|
from celery.worker.request import Request
|
2021-01-26 15:42:29 +01:00
|
|
|
|
2023-03-30 10:31:37 +02:00
|
|
|
+
|
|
|
|
import pytest
|
2021-01-26 15:42:29 +01:00
|
|
|
|
2023-03-30 10:31:37 +02:00
|
|
|
from .tasks import add, cumadd
|