Skip to content

Commit 43cad26

Browse files
committed
Split long callback tests.
1 parent 7097be3 commit 43cad26

19 files changed

+640
-599
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import os
2+
3+
import pytest
4+
5+
6+
if "REDIS_URL" in os.environ:
7+
managers = ["celery", "diskcache"]
8+
else:
9+
print("Skipping celery tests because REDIS_URL is not defined")
10+
managers = ["diskcache"]
11+
12+
13+
@pytest.fixture(params=managers)
14+
def manager(request):
15+
return request.param

0 commit comments

Comments
 (0)