aboutcode-org / aboutcode-org/commoncode

Convert tests using a list of tests to use pytest fixtures

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
23
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.