Function export_TAP() from check.py now accepts list of CheckDetail of single CheckDetail. If single detail is passed, it creates list with one element.
Details
Details
- Reviewers
kparal - Maniphest Tasks
- T204: CheckDetail.export_TAP() should accept a list
- Commits
- rLTRNdcd65b3d23b7: check.export_TAP() now accepts list of details or single detail
$ py.test -F
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Lint Skipped - Unit
Unit Tests Skipped
libtaskotron/check.py | ||
---|---|---|
292 | I don't understand why this could produce a 0..N. By my reading of the TAP13 Spec, the test case count declaration always starts with 1. |
Comment Actions
After carefully studying the spec, it is explicitly written there that we should produce 1..0 in this case. Good catch.
Iterable is a bit more precise term than list