l.c.c.t.t.FakeCodeImportScheduleEndpointProxy : class documentation

Part of lp.codehosting.codeimport.tests.test_workermonitor View In Hierarchy

A fake implementation of a proxy to ICodeImportScheduler.

The constructor takes a dictionary mapping job ids to information that should be returned by getImportDataForJobID and the exception to raise if getImportDataForJobID is called with a job id not in the passed-in dictionary, defaulting to a fault with the same code as NoSuchCodeImportJob (because the class of the exception is lost when you go through XML-RPC serialization).

Method __init__ Undocumented
Method callRemote Undocumented
Method _default Undocumented
Method _remote_getImportDataForJobID Undocumented
def __init__(self, jobs_dict, no_such_job_exception=None):
Undocumented
def callRemote(self, method_name, *args):
Undocumented
def _default(self, *args):
Undocumented
def _remote_getImportDataForJobID(self, job_id):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.