The nova.tests.test_cinder Module

class CinderTestCase(methodName='runTest')

Bases: nova.test.TestCase

Test case for cinder volume api.

assert_called(*args, **kwargs)
setUp()
test_cinder_endpoint_template()
test_context_with_catalog()
class FakeCinderClient(username, password, project_id=None, auth_url=None)

Bases: cinderclient.v1.client.Client

class FakeClientFactory

Bases: object

Keep a ref to the FakeClient since volume.api.cinder throws it away.

assert_called(method, url, body=None, pos=-1)
class FakeHTTPClient(user, password, projectid, auth_url, insecure=False, timeout=None, tenant_id=None, proxy_tenant_id=None, proxy_token=None, region_name=None, endpoint_type='publicURL', service_type=None, service_name=None, volume_service_name=None)

Bases: cinderclient.client.HTTPClient

get_volumes_1234(**kw)

Previous topic

The nova.tests.test_block_device Module

Next topic

The nova.tests.test_compat_flagfile Module

This Page