Previous topic

The cinder.tests.backup.fake_service Module

Next topic

The cinder.tests.db.fakes Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.tests.backup.fake_swift_client Module

class FakeSwiftClient(*args, **kwargs)

Bases: object

Logs calls instead of executing.

classmethod Connection(*args, **kargs)
class FakeSwiftConnection(*args, **kwargs)

Bases: object

Logging calls instead of executing

delete_object(container, name)
get_container(container, **kwargs)
get_object(container, name)
head_container(container)
head_object(container, name)
put_container(container)
put_object(container, name, reader)