| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import ssg.cce as tested_module |
||
| 4 | def test_is_cce_format_valid(): |
||
| 5 | icv = tested_module.is_cce_format_valid |
||
| 6 | assert icv("CCE-27191-6") |
||
| 7 | assert icv("CCE-7223-7") |
||
| 8 | |||
| 9 | assert not icv("not-valid") |
||
| 10 | assert not icv("1234-5") |
||
| 11 | assert not icv("TBD") |
||
| 12 | assert not icv("CCE-TBD") |
||
| 13 | assert not icv("CCE-abcde-f") |
||
| 14 | |||
| 23 |