aboutcode-org / aboutcode-org/commoncode

Convert tests using a list of tests to use pytest fixtures

Aperta
#71 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
4
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The tests in https://github.com/aboutcode-org/commoncode/blob/878be6140deac30e2b95fb0fad9eb8feca015fc8/tests/test_resource.py#L1464 and a few other places are a single method that runs many tests in a loop.
We should instead us e a pytest fixtures to run many test functions, one for each entry.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.