CycloneDX / CycloneDX/cyclonedx-python-lib

tests: test all model enums

Aperta
#991 0 commenti 0 reazioni 1 assegnatario Rivendicata da @jkowalleck Vedi su GitHub
QA
Lingua principale
Python
Stelle
116
Fork
67
Merge medio
8g 2h
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.