Tests For Least Cost functions.
-
class LeastCostTestCase(methodName='runTest')
Bases: nova.test.TestCase
-
setUp()
-
test_weighted_sum_happy_day()
-
test_weighted_sum_single_function()
-
class TestWeightedHost(methodName='runTest')
Bases: nova.test.TestCase
-
test_dict_conversion_with_host_state()
-
test_dict_conversion_without_host_state()
-
offset(hostinfo, options)
-
scale(hostinfo, options)