JobQ doesn't support multiple botgroups per project anymore
/jobs/ endpoint doesn't support scanning anymore and now relies on
/jobq/NNN/list which return jobs in reverse order and doesn't mix
jobs from multiples states unless state param is used
job auth token is only returned when job is moved from pending to
running queue, that's when calling /jobq/startjob. The token is not
stored anymore as job metadata.
HubstorageClient.get_jobs() changed it signature and doesn't accept
numerical spiderid as first argument anymore, only spider by its name.
$ py.test -x --ff
======================================== test session starts ====================================
platform darwin -- Python 2.7.10, pytest-2.8.2, py-1.4.30, pluggy-0.3.1
run-last-failure: run all (no recorded failures)
rootdir: /Users/daniel/src/python-hubstorage, inifile:
plugins: capturelog-0.7
collected 53 items
tests/test_activity.py ...
tests/test_batchuploader.py ....
tests/test_client.py ......
tests/test_collections.py ..
tests/test_frontier.py ....
tests/test_jobq.py sx...............
tests/test_jobsmeta.py ...
tests/test_project.py ...........
tests/test_system.py ...
=============== 51 passed, 1 skipped, 1 xfailed, 1 pytest-warnings in 173.62 seconds ============
Alternative to #36 in order to fix #35
/cc @torymur
List of compromises:
state
param is used