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

Three uncovered pre-existing spots on the monitoring and dashboard surface

Aperta
#337 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
64/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Start with the existing tests for services/email/dashboard/context_processors.py and the reputation dashboard views, then run the provided pytest command with coverage. Add a test for the context processor's anonymous, no-org path and rendering assertions for the cited fbl_report_detail.html and fbl_report_list.html spots; done when those behaviors are covered by assertions, since template coverage percentages are unreliable here.

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

Descrizione

side quest test

Three pre-existing lines on the dashboard and reputation surfaces have no test.

Work reference: branch codingjoe-weekly-digest, commits 2ace45d2 to 6f28eacf, weekly sending digest. This work is from the superJoe crew. testJoe measured the two apps for that change, and these lines were already dark.

side quest: services/email/dashboard/context_processors.py:8 return {} when no org is selected is uncovered. Pre-existing, not in this diff. [services/email/dashboard/context_processors.py]

side quest: reputation/fbl_report_detail.html lines 43, 51-54, 72-77, 81-88 are uncovered. Pre-existing, not in this diff. [services/email/reputation/templates/reputation/fbl_report_detail.html]

side quest: reputation/fbl_report_list.html line 68 is uncovered. Pre-existing, not in this diff. [services/email/reputation/templates/reputation/fbl_report_list.html]

Measured with uv run --group test pytest services/email/reputation services/email/dashboard --cov=services/email/reputation --cov=services/email/dashboard --cov-report=term-missing: 216 passed, 87 percent. Template line counts read 0 percent for every template in that run, including ones that a rendering test provably renders. The fbl template lines therefore want a rendering assertion, not a coverage number. The context processor line is the anonymous, no-org path.

Related: #329, #299, #292, #296, #297.

Lingua principale
Python
Stelle
4
Fork
0
Merge medio
2h 40m
PR unite (30g)
163

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 codingjoe/relay

Tutte le issue di codingjoe/relay

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.