diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-09-08 16:45:40 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2014-09-09 16:27:08 +0000 |
commit | 1f9facecce6a0ff2887810feb6223f63f82dba11 (patch) | |
tree | 6d3e8bb2a5cf806abf17c4c953442b82a5666ccd /setup.py | |
parent | 44a2dca52d232428b5a52e2c73fcad1adfee7a8f (diff) | |
download | lorry-controller-1f9facecce6a0ff2887810feb6223f63f82dba11.tar.gz |
Add tests for jobs, failed_jobs attributes in lorry specs
When getting information about a lorry spec from WEBAPP (/1.0/lorry/PATH),
we now need it to return two lists of job ids: one for all jobs for that
lorry spec, one with failed jobs only.
We test here the version of the request that returns JSON. The version that
returns HTML is similar (or so we assume), but it's harder to test the HTML
output so we're happy with this.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions