The nova.tests.test_availability_zones Module

Tests for availability zones

class AvailabilityZoneTestCases(*args, **kwargs)

Bases: nova.test.TestCase

Test case for aggregate based availability zone.

setUp()
tearDown()
test_get_availability_zones()

Test get_availability_zones.

test_get_host_availability_zone()

Test get right availability zone by given host.

test_set_availability_zone_compute_service()

Test for compute service get right availability zone.

test_set_availability_zone_not_compute_service()

Test not compute service get right availability zone.

Previous topic

The nova.tests.test_api Module

Next topic

The nova.tests.test_bdm Module

This Page