jqueue: Factorize checking job processor's result
authorMichael Hanselmann <hansmi@google.com>
Mon, 19 Dec 2011 15:25:24 +0000 (16:25 +0100)
committerMichael Hanselmann <hansmi@google.com>
Thu, 22 Dec 2011 13:19:36 +0000 (14:19 +0100)
commitdf5a573043c2341b56d2ba338a8b70a7fe5f7ddd
treefda61ece1f941ea7547b5c181ce63abb0ce35eab
parent1b5150ab96de47497cd11a77e0dc3d4d9e82c862
jqueue: Factorize checking job processor's result

This allows for more unittesting.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/jqueue.py
test/ganeti.jqueue_unittest.py