CycloneDX / CycloneDX/cyclonedx-python-lib

tests: test all model enums

Đang mở
#991 0 bình luận 0 reaction 1 người được giao Được @jkowalleck nhận Xem trên GitHub
QA
Ngôn ngữ chính
Python
Star
116
Fork
67
Merge trung bình
8 ngày 2 giờ
Pull request đã merge (30 ngày)
2

Mô tả

in `cyclonedx/model/**/*.py` we define a lot of enums.

we have enum tests, that check that all actual enum cases are defined, and no unknown is defined.
this is done in `tests/test_enums.py`

unfortunately, we dont know if er forgot to test an enum.
this shall be fixed!

add a meta-test that checks that all needed test cases exist.

if any enum was missing, add it.

**Goal** have all model's enums tested for completeness.

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

Mở hướng dẫn đóng góp

Đá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.