l.t.s.fakeswift : module documentation

Part of lp.testing.swift

An OpenStack Swift server mock using Twisted.

Not all functionality is provided; just enough to test the client.

Class FakeKeystone A fake Keystone API endpoint.
Function parse_range_header Modelled after twisted.web.static.File._parseRangeHeader.
Class EmptyPage Return an empty document.
Class SwiftObject A Swift storage object.
Class SwiftContainer Storage container.
Class FakeContent A content that can be sliced or read but will never exist in memory.
Class SizeContainer Return fake objects with size = int(objname).
Class FakeSwift A fake Swift endpoint.
Class Root Site root.
def parse_range_header(range):
Modelled after twisted.web.static.File._parseRangeHeader.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.