4294: additional unit tests
authorTim Pierce <twp@curoverse.com>
Tue, 11 Nov 2014 20:59:23 +0000 (15:59 -0500)
committerTim Pierce <twp@curoverse.com>
Tue, 11 Nov 2014 21:05:27 +0000 (16:05 -0500)
commit7e8b0267597a52063395d3c258d4d4772d2e2240
treea252c5b1fae617de39fbb98af8b76a180e680fd3
parentca136c579fc014b6428c18cc3a74a45550539543
4294: additional unit tests

test_server_calc_returns_min_nodes_for_one_job
* Ensures that the @ServerCalculator@ still returns a wishlist with
_min_nodes_ when there is a job in the queue.

test_server_calc_more_jobs_than_min_nodes
* Tests that when the job queue has between _min_nodes_ and _max_nodes_ in
it, @ServerCalculator@ returns a wishlist exactly as long as the job
queue.
services/nodemanager/tests/test_jobqueue.py