`celery_worker` fixture name colides with `celery_worker` fixture from `celery.contrib.pytest`

Đang mở
#442 7 bình luận 5 reaction 1 người được giao Xem trên GitHub

@Nusnus đang làm issue này rồi.

Từ ngày 6/2/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

pytest-celery contains a container based celery_worker fixture. celery_worker fixture also used for celery in celery.contrib.pytest.

When a test is called like this:

def test_a(celery_app, celery_worker):
    celery_app
    celery_worker
    assert True

celery_app is from celery.contrib.pytest and celery_worker is from pytest-celery (docker based)

Ngôn ngữ chính
Python
Star
83
Fork
18
Merge trung bình
4 giờ 13 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của celery/pytest-celery

Tất cả issue của celery/pytest-celery

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.