Skip to content

Commit ef12c62

Browse files
committed
working integration tests
1 parent 49cbf69 commit ef12c62

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

integration_tests/conftest.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

integration_tests/test_celery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def celery_includes():
2424
]
2525

2626

27-
def test_celery(celery_worker):
27+
def test_celery(celery_session_app, celery_session_worker):
2828
a, b = random.randint(1, 1000), random.randint(1, 1000)
2929
result = add.delay(a, b)
3030
assert result.get(timeout=10, propagate=True) == a + b
@@ -36,7 +36,7 @@ def test_celery(celery_worker):
3636
assert tb_task.data == {"result": a + b}
3737

3838

39-
def test_celery_auto_track(celery_worker):
39+
def test_celery_auto_track(celery_session_app, celery_session_worker):
4040
a, b = random.randint(1, 1000), random.randint(1, 1000)
4141
result = add_auto_track.delay(a, b)
4242
assert result.get(timeout=10, propagate=True) == a + b

0 commit comments

Comments
 (0)