The oslo_vmware.tests.objects.test_datastore Module

class oslo_vmware.tests.objects.test_datastore.DatastorePathTestCase(*args, **kwargs)

Bases: oslo_vmware.tests.base.TestCase

Test the DatastorePath object.

test_ds_path()
test_ds_path_ds_only()
test_ds_path_equivalence()
test_ds_path_invalid_path_components()
test_ds_path_no_ds_name()
test_ds_path_no_subdir()
test_ds_path_non_equivalence()
test_ds_path_parse()
test_equal()
test_join()
class oslo_vmware.tests.objects.test_datastore.DatastoreTestCase(*args, **kwargs)

Bases: oslo_vmware.tests.base.TestCase

Test the Datastore object.

test_build_path()
test_build_url()
test_ds()
test_ds_invalid()
test_ds_invalid_space()
test_ds_no_capacity_no_freespace()
test_get_connected_hosts()
test_get_summary()
test_is_datastore_mount_usable()
class oslo_vmware.tests.objects.test_datastore.DatastoreURLTestCase(*args, **kwargs)

Bases: oslo_vmware.tests.base.TestCase

Test the DatastoreURL object.

test_connect(*args, **keywargs)
test_datacenter_path()
test_datastore_name()
test_get_datastore_by_ref()
test_get_transfer_ticket()
test_path()
test_path_lstrip()
test_path_rstrip()
test_path_strip()
test_urlparse()
class oslo_vmware.tests.objects.test_datastore.HostMount(key, mountInfo)

Bases: object

class oslo_vmware.tests.objects.test_datastore.MountInfo(accessMode, mounted, accessible)

Bases: object

This Page