Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Session scoped fixtures for avoiding recreation

Aperta
#459 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, python

Direzione di ricerca

Inizia verificando la documentazione esistente di pytest-celery e il ciclo di vita di test-cluster, quindi confronta il comportamento session-scoped richiesto con la configurazione di pytest-docker-tools menzionata nell’issue. Il lavoro è completo quando viene documentato se il riutilizzo del cluster è supportato e vengono spiegate chiaramente la configurazione o la limitazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

documentation

Checklist

  • I have checked the issues list
    for similar or identical bug reports.
  • I have checked the pull requests list
    for existing proposed fixes.
  • I have checked the commit log
    to find out if the bug was already fixed in the main branch.
  • I have included all related issues and possible duplicate issues in this issue
    (If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues
  • None
Possible Duplicates
  • None

Description

I am a new user of the package and I really like it, but I am not able to figure out a fundamental question through the documentation. How can I prevent the test cluster from getting recreated between test runs in the same session.

To be fair, I don't see any part of documentation that claims that this is possible. I just thought, when reading the docs and writing my tests, that session based setup is possible, because otherwise would be a bit too slow.

Can you please confirm if this is indeed not possible with pytest-celery? And if so, should I just implement my own test setup using pytest-docker-tools? I think I could also write my test cases in one test function, but I would like to avoid it.

Suggestions

Lingua principale
Python
Stelle
82
Fork
17
Merge medio
2g 6h
PR unite (30g)
26

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di celery/pytest-celery

Tutte le issue di celery/pytest-celery

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.