|
Adds queue handling tests for jobs
This adds a number of tests to handle queue management for the jobs' pipeline.
Where possible, it also adds tests for expected outputs and processes within
the jobs. This is not comprehensive--the jobs need more tests, esp where mongo
and other data sources are being worked with (e.g. indexing).
There is also some drive by cleanup and linting, particularly removing unused
code.
https://code.launchpad.net/~jcsackett/charmworld/better-job-tests/+merge/145870
(do not edit description out of merge proposal)
Total comments: 10
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+354 lines, -78 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/bzr.py
|
View
|
|
3 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/changelog.py
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/config.py
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/lp.py
|
View
|
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/scan.py
|
View
|
1
|
5 chunks |
+12 lines, -10 lines |
1 comment
|
Download
|
|
M |
charmworld/jobs/store.py
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
charmworld/jobs/tests/test_bzr.py
|
View
|
1
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
charmworld/jobs/tests/test_changelog.py
|
View
|
1
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
charmworld/jobs/tests/test_lp.py
|
View
|
1
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/tests/test_proof.py
|
View
|
1
|
1 chunk |
+48 lines, -42 lines |
0 comments
|
Download
|
|
A |
charmworld/jobs/tests/test_scan.py
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
charmworld/jobs/tests/test_store.py
|
View
|
1
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
charmworld/jobs/utils.py
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
charmworld/testing/__init__.py
|
View
|
1
|
4 chunks |
+49 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5
|