aboutcode-org / aboutcode-org/commoncode

Convert tests using a list of tests to use pytest fixtures

Đang mở
#71 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
4
Fork
23
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.