aboutcode-org / aboutcode-org/commoncode

Convert tests using a list of tests to use pytest fixtures

Abierto
#71 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
4
Forks
23
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.