2aa81e9ef6
This is the first patch set to introduce unit test for XenAPI plugins. It contains the common part depended by other plugin tests. In order to make this first patch set to be as simple as possible, it only covers the test framework and the unit test for a simple plugin. Change-Id: Iece439661cc4337e826d0eb15b438d2716214fb5
210 lines
14 KiB
Plaintext
210 lines
14 KiB
Plaintext
nova.tests.unit.api.openstack.compute.legacy_v2.test_extensions.ActionExtensionTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_extensions.ControllerExtensionTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_extensions.ExtensionControllerIdFormatTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_extensions.ExtensionManagerTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_extensions.ResourceExtensionTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_servers.ServersControllerCreateTest
|
|
nova.tests.unit.api.openstack.compute.legacy_v2.test_servers.ServersControllerTest
|
|
nova.tests.unit.api.openstack.compute.test_api.APITest
|
|
nova.tests.unit.api.openstack.compute.test_api.APITestV21
|
|
nova.tests.unit.api.openstack.compute.test_console_output.ConsoleOutputExtensionTestV2
|
|
nova.tests.unit.api.openstack.compute.test_console_output.ConsoleOutputExtensionTestV21
|
|
nova.tests.unit.api.openstack.compute.test_createserverext.CreateserverextTest
|
|
nova.tests.unit.api.openstack.compute.test_disk_config.DiskConfigTestCaseV2
|
|
nova.tests.unit.api.openstack.compute.test_disk_config.DiskConfigTestCaseV21
|
|
nova.tests.unit.api.openstack.compute.test_extended_availability_zone.ExtendedAvailabilityZoneTestV2
|
|
nova.tests.unit.api.openstack.compute.test_extended_availability_zone.ExtendedAvailabilityZoneTestV21
|
|
nova.tests.unit.api.openstack.compute.test_extended_ips.ExtendedIpsTestV2
|
|
nova.tests.unit.api.openstack.compute.test_extended_ips.ExtendedIpsTestV21
|
|
nova.tests.unit.api.openstack.compute.test_extended_ips_mac.ExtendedIpsMacTestV2
|
|
nova.tests.unit.api.openstack.compute.test_extended_ips_mac.ExtendedIpsMacTestV21
|
|
nova.tests.unit.api.openstack.compute.test_extended_server_attributes.ExtendedServerAttributesTestV2
|
|
nova.tests.unit.api.openstack.compute.test_extended_server_attributes.ExtendedServerAttributesTestV21
|
|
nova.tests.unit.api.openstack.compute.test_extended_server_attributes.ExtendedServerAttributesTestV23
|
|
nova.tests.unit.api.openstack.compute.test_floating_ip_dns.FloatingIPDNSDomainPolicyEnforcementV21
|
|
nova.tests.unit.api.openstack.compute.test_floating_ip_dns.FloatingIPDNSEntryPolicyEnforcementV21
|
|
nova.tests.unit.api.openstack.compute.test_floating_ip_dns.FloatingIpDNSTestV2
|
|
nova.tests.unit.api.openstack.compute.test_floating_ip_dns.FloatingIpDNSTestV21
|
|
nova.tests.unit.api.openstack.compute.test_hide_server_addresses.HideServerAddressesTestV2
|
|
nova.tests.unit.api.openstack.compute.test_hide_server_addresses.HideServerAddressesTestV21
|
|
nova.tests.unit.api.openstack.compute.test_keypairs.KeypairsTestV2
|
|
nova.tests.unit.api.openstack.compute.test_keypairs.KeypairsTestV21
|
|
nova.tests.unit.api.openstack.compute.test_keypairs.KeypairsTestV210
|
|
nova.tests.unit.api.openstack.compute.test_keypairs.KeypairsTestV22
|
|
nova.tests.unit.api.openstack.compute.test_limits.WsgiLimiterProxyTest
|
|
nova.tests.unit.api.openstack.compute.test_neutron_security_groups.TestNeutronSecurityGroupRulesV2
|
|
nova.tests.unit.api.openstack.compute.test_neutron_security_groups.TestNeutronSecurityGroupRulesV21
|
|
nova.tests.unit.api.openstack.compute.test_neutron_security_groups.TestNeutronSecurityGroupsOutputTest
|
|
nova.tests.unit.api.openstack.compute.test_scheduler_hints.SchedulerHintsTestCaseV2
|
|
nova.tests.unit.api.openstack.compute.test_scheduler_hints.SchedulerHintsTestCaseV21
|
|
nova.tests.unit.api.openstack.compute.test_security_group_default_rules.TestSecurityGroupDefaultRulesNeutronV21
|
|
nova.tests.unit.api.openstack.compute.test_security_group_default_rules.TestSecurityGroupDefaultRulesV21
|
|
nova.tests.unit.api.openstack.compute.test_security_groups.SecurityGroupsOutputTestV2
|
|
nova.tests.unit.api.openstack.compute.test_security_groups.SecurityGroupsOutputTestV21
|
|
nova.tests.unit.api.openstack.compute.test_security_groups.TestSecurityGroupRulesV2
|
|
nova.tests.unit.api.openstack.compute.test_security_groups.TestSecurityGroupRulesV21
|
|
nova.tests.unit.api.openstack.compute.test_server_actions.ServerActionsControllerTestV2
|
|
nova.tests.unit.api.openstack.compute.test_server_actions.ServerActionsControllerTestV21
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.Base64ValidationTest
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerCreateTest
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerRebuildInstanceTest
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerRebuildTestV219
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerTest
|
|
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerTestV29
|
|
nova.tests.unit.api.openstack.compute.test_simple_tenant_usage.SimpleTenantUsageTestV2
|
|
nova.tests.unit.api.openstack.compute.test_simple_tenant_usage.SimpleTenantUsageTestV21
|
|
nova.tests.unit.api.openstack.compute.test_urlmap.UrlmapTest
|
|
nova.tests.unit.api.openstack.compute.test_user_data.ServersControllerCreateTest
|
|
nova.tests.unit.api.openstack.compute.test_versions.VersionsTestV20
|
|
nova.tests.unit.api.openstack.compute.test_versions.VersionsTestV21
|
|
nova.tests.unit.api.openstack.compute.test_versions.VersionsTestV21WithV2CompatibleWrapper
|
|
nova.tests.unit.api.openstack.compute.test_volumes.BootFromVolumeTest
|
|
nova.tests.unit.api.openstack.compute.test_volumes.VolumeApiTestV2
|
|
nova.tests.unit.api.openstack.compute.test_volumes.VolumeApiTestV21
|
|
nova.tests.unit.api.test_compute_req_id.RequestIdTest
|
|
nova.tests.unit.api.test_validator.ValidatorTestCase
|
|
nova.tests.unit.api.test_wsgi.Test
|
|
nova.tests.unit.compute.test_compute.ComputeAPITestCase.test_create_with_base64_user_data
|
|
nova.tests.unit.compute.test_compute.ComputeInjectedFilesTestCase.test_injected_invalid
|
|
nova.tests.unit.compute.test_compute.ComputeTestCase.test_finish_resize_with_volumes
|
|
nova.tests.unit.compute.test_compute.ComputeVolumeTestCase.test_boot_volume_serial
|
|
nova.tests.unit.compute.test_compute.ComputeVolumeTestCase.test_poll_bandwidth_usage_not_implemented
|
|
nova.tests.unit.compute.test_compute.ComputeVolumeTestCase.test_prep_block_device_over_quota_failure
|
|
nova.tests.unit.compute.test_compute.ComputeVolumeTestCase.test_prep_block_device_with_blanks
|
|
nova.tests.unit.compute.test_compute_cells.CellsComputeAPITestCase.test_create_with_base64_user_data
|
|
nova.tests.unit.compute.test_compute_mgr.ComputeManagerUnitTestCase.test_run_pending_deletes
|
|
nova.tests.unit.compute.test_host_api.ComputeHostAPICellsTestCase
|
|
nova.tests.unit.compute.test_resources.BaseTestCase
|
|
nova.tests.unit.compute.test_tracker.TestMoveClaim
|
|
nova.tests.unit.console.test_websocketproxy.NovaProxyRequestHandlerBaseTestCase
|
|
nova.tests.unit.consoleauth.test_consoleauth.ControlauthMemcacheEncodingTestCase
|
|
nova.tests.unit.db.test_migrations.TestNovaMigrationsMySQL
|
|
nova.tests.unit.db.test_migrations.TestNovaMigrationsPostgreSQL
|
|
nova.tests.unit.db.test_migrations.TestNovaMigrationsSQLite
|
|
nova.tests.unit.image.test_fake.FakeImageServiceTestCase
|
|
nova.tests.unit.keymgr.test_barbican.BarbicanKeyManagerTestCase
|
|
nova.tests.unit.keymgr.test_conf_key_mgr.ConfKeyManagerTestCase
|
|
nova.tests.unit.keymgr.test_key.SymmetricKeyTestCase
|
|
nova.tests.unit.keymgr.test_mock_key_mgr.MockKeyManagerTestCase
|
|
nova.tests.unit.keymgr.test_single_key_mgr.SingleKeyManagerTestCase
|
|
nova.tests.unit.network.test_manager.LdapDNSTestCase
|
|
nova.tests.unit.pci.test_manager.PciDevTrackerTestCase
|
|
nova.tests.unit.pci.test_stats.PciDeviceStatsTestCase
|
|
nova.tests.unit.pci.test_stats.PciDeviceStatsWithTagsTestCase
|
|
nova.tests.unit.test_api_validation.Base64TestCase
|
|
nova.tests.unit.test_bdm.BlockDeviceMappingEc2CloudTestCase
|
|
nova.tests.unit.test_block_device.BlockDeviceTestCase
|
|
nova.tests.unit.test_block_device.TestBlockDeviceDict
|
|
nova.tests.unit.test_cinder.CinderTestCase
|
|
nova.tests.unit.test_cinder.CinderV2TestCase
|
|
nova.tests.unit.test_configdrive2.ConfigDriveTestCase
|
|
nova.tests.unit.test_hacking.HackingTestCase
|
|
nova.tests.unit.test_ipv6.IPv6AccountIdentiferTestCase
|
|
nova.tests.unit.test_matchers.TestDictMatches
|
|
nova.tests.unit.test_matchers.TestXMLMatches
|
|
nova.tests.unit.test_metadata.MetadataHandlerTestCase
|
|
nova.tests.unit.test_metadata.MetadataPasswordTestCase
|
|
nova.tests.unit.test_metadata.MetadataTestCase
|
|
nova.tests.unit.test_metadata.OpenStackMetadataTestCase
|
|
nova.tests.unit.test_nova_manage.CellCommandsTestCase
|
|
nova.tests.unit.test_pipelib.PipelibTest
|
|
nova.tests.unit.test_policy.AdminRolePolicyTestCase
|
|
nova.tests.unit.test_quota.QuotaIntegrationTestCase
|
|
nova.tests.unit.test_test_utils.TestUtilsTestCase
|
|
nova.tests.unit.test_wsgi.TestWSGIServerWithSSL
|
|
nova.tests.unit.virt.disk.mount.test_nbd.NbdTestCase
|
|
nova.tests.unit.virt.ironic.test_driver.IronicDriverTestCase
|
|
nova.tests.unit.virt.ironic.test_patcher.IronicDriverFieldsTestCase
|
|
nova.tests.unit.virt.libvirt.storage.test_lvm.LvmTestCase
|
|
nova.tests.unit.virt.libvirt.storage.test_rbd.RbdTestCase
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigCPUFeatureTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigCPUTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigCapsTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestCPUFeatureTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestCPUNUMATest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestCPUTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestCPUTuneTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestChannelTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestClockTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestConsoleTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestControllerTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestDiskTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestFeatureTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestFilesysTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestGraphicsTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestHostdev
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestHostdevPCI
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestIDMap
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestInputTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestInterfaceTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestMemoryBackingTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestMemoryTuneTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestMetadataNovaTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestNUMATuneTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestRngTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSMBIOSTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSeclabel
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSerialTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSnapshotDiskTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSnapshotTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestSysinfoTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestTimerTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestVideoTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigGuestWatchdogTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigMemoryBalloonTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigSecretTest
|
|
nova.tests.unit.virt.libvirt.test_config.LibvirtConfigTest
|
|
nova.tests.unit.virt.libvirt.test_driver.LibvirtConnTestCase
|
|
nova.tests.unit.virt.libvirt.test_driver.LibvirtDriverTestCase
|
|
nova.tests.unit.virt.libvirt.test_driver.LibvirtVolumeSnapshotTestCase
|
|
nova.tests.unit.virt.libvirt.test_fakelibvirt.FakeLibvirtTests.test_numa_topology_generation
|
|
nova.tests.unit.virt.libvirt.test_firewall.IptablesFirewallTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagebackend.EncryptedLvmTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagebackend.LvmTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagebackend.RawTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagebackend.RbdTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagecache.ImageCacheManagerTestCase
|
|
nova.tests.unit.virt.libvirt.test_imagecache.VerifyChecksumTestCase
|
|
nova.tests.unit.virt.libvirt.test_utils.LibvirtUtilsTestCase
|
|
nova.tests.unit.virt.libvirt.test_vif.LibvirtVifTestCase
|
|
nova.tests.unit.virt.test_hardware.CPUPinningCellTestCase
|
|
nova.tests.unit.virt.test_hardware.CPUPinningTestCase
|
|
nova.tests.unit.virt.test_virt_drivers.FakeConnectionTestCase
|
|
nova.tests.unit.virt.test_virt_drivers.LibvirtConnTestCase
|
|
nova.tests.unit.virt.vmwareapi.test_images.VMwareImagesTestCase
|
|
nova.tests.unit.virt.vmwareapi.test_read_write_util.ReadWriteUtilTestCase
|
|
nova.tests.unit.virt.vmwareapi.test_vmops.VMwareVMOpsTestCase
|
|
nova.tests.unit.virt.xenapi.client.test_session.CallPluginTestCase
|
|
nova.tests.unit.virt.xenapi.image.test_utils.RawTGZTestCase
|
|
nova.tests.unit.virt.xenapi.image.test_vdi_through_dev.TestTarGzProducer
|
|
nova.tests.unit.virt.xenapi.test_agent.FileInjectionTestCase
|
|
nova.tests.unit.virt.xenapi.test_vm_utils.ResizeFunctionTestCase
|
|
nova.tests.unit.virt.xenapi.test_vm_utils.ScanSrTestCase
|
|
nova.tests.unit.virt.xenapi.test_vm_utils.UnplugVbdTestCase
|
|
nova.tests.unit.virt.xenapi.test_vmops.GetConsoleOutputTestCase
|
|
nova.tests.unit.virt.xenapi.test_volume_utils.ParseVolumeInfoTestCase
|
|
nova.tests.unit.virt.xenapi.test_xenapi.HypervisorPoolTestCase
|
|
nova.tests.unit.virt.xenapi.test_xenapi.XenAPIDiffieHellmanTestCase
|
|
nova.tests.unit.virt.xenapi.test_xenapi.XenAPIDom0IptablesFirewallTestCase
|
|
nova.tests.unit.virt.xenapi.test_xenapi.XenAPIVMTestCase
|
|
nova.tests.unit.volume.encryptors.test_cryptsetup.CryptsetupEncryptorTestCase
|
|
nova.tests.unit.volume.encryptors.test_luks.LuksEncryptorTestCase
|
|
nova.tests.unit.volume.test_cinder.CinderApiTestCase
|
|
|
|
##########################################################################
|
|
# NOTE(dims): The following tests randomly fail in the gate. Please be
|
|
# careful before you re-enable them
|
|
##########################################################################
|
|
nova.tests.unit.compute.test_compute_mgr.ComputeManagerUnitTestCase
|
|
nova.tests.unit.network.test_neutronv2.TestNeutronv2
|
|
nova.tests.unit.virt.test_virt_drivers.AbstractDriverTestCase
|
|
nova.tests.unit.virt.vmwareapi.test_configdrive.ConfigDriveTestCase
|
|
nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase
|
|
nova.tests.unit.virt.xenapi.test_vmops.BootableTestCase
|
|
nova.tests.unit.virt.xenapi.test_vmops.SpawnTestCase
|
|
|
|
# The XenAPI plugins run in a Python 2.4 environment, so avoid attempting
|
|
# to run their unit tests in a Python 3 environment.
|
|
nova.tests.unit.virt.xenapi.plugins
|