l.c.i.InMemoryFrontend : class documentation

Part of lp.codehosting.inmemory View In Hierarchy

A in-memory 'frontend' to Launchpad's branch services.

This is an in-memory version of LaunchpadDatabaseFrontend.

Method __init__ Undocumented
Method getCodehostingEndpoint See LaunchpadDatabaseFrontend.
Method getLaunchpadObjectFactory See LaunchpadDatabaseFrontend.
Method getBranchLookup See LaunchpadDatabaseFrontend.
Method getLastActivity Get the last script activity with 'activity_name'.
def __init__(self):
Undocumented
def getCodehostingEndpoint(self):
See LaunchpadDatabaseFrontend.

Return an in-memory implementation of IBranchFileSystem that passes the tests in test_codehosting.

def getLaunchpadObjectFactory(self):
See LaunchpadDatabaseFrontend.

Returns a partial, in-memory implementation of LaunchpadObjectFactory -- enough to pass the tests.

def getBranchLookup(self):
See LaunchpadDatabaseFrontend.

Returns a partial implementation of IBranchLookup -- enough to pass the tests.

def getLastActivity(self, activity_name):
Get the last script activity with 'activity_name'.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.