T110, T116 - Export keyvals, Import TAP
ClosedPublic

Authored by jskladan on Apr 3 2014, 3:22 PM.

Details

Summary

Added functionality for exporting keyvals from TAP.
Added functionality for converting the TAP output into a list
CheckDetails.

Test Plan

Unit-tests appended

Diff Detail

Branch
feature/T110-check-keyvals
Lint
No Linters Available
Unit
No Unit Test Coverage
tflink accepted this revision.Apr 3 2014, 4:50 PM

Looks good to me

jskladan closed this revision.Apr 4 2014, 9:15 AM
kparal added inline comments.Apr 4 2014, 9:41 AM
libtaskotron/check.py
18

Can you add a comment here explaining the purpose?

315

Can you document thrown exceptions as well? And clarify that source is a string?

321

Is e.message the same as str(e)? I wouldn't want to lose some information here.

Btw, you can always do this:

log.exception('Failed parsing of the TAP output')
raise exc.TaskotronValueError('Failed parsing of the TAP output: %s' % e)

That will log the whole error stacktrace, message, everything. But I'm not sure we need it in this case, we probably need just the parser error describing what line was incorrect.