The nova.tests.scheduler.test_least_cost Module

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)

Previous topic

The nova.tests.scheduler.test_host_manager Module

Next topic

The nova.tests.scheduler.test_multi_scheduler Module

This Page