l.b.t.e.TestExternalBugTracker(ExternalBugTracker) : class documentation

Part of lp.bugs.tests.externalbugtracker View In Hierarchy

Known subclasses: lp.bugs.scripts.checkwatches.tests.test_bugwatchupdater.BrokenCommentSyncingExternalBugTracker, lp.bugs.scripts.checkwatches.tests.test_bugwatchupdater.KnownBrokenCommentSyncingExternalBugTracker, lp.bugs.scripts.checkwatches.tests.test_core.ExternalBugTrackerForThreads, lp.bugs.scripts.checkwatches.tests.test_remotebugupdater.ImportanceConvertingExternalBugTracker, lp.bugs.scripts.checkwatches.tests.test_remotebugupdater.StatusConvertingExternalBugTracker, lp.bugs.tests.externalbugtracker.TestBrokenExternalBugTracker

A test version of ExternalBugTracker.

Implements all the methods required of an IExternalBugTracker implementation, though it doesn't actually do anything.

Method __init__ Undocumented
Method getRemoteBug Return the tuple (None, None) as a representation of a remote bug.
Method convertRemoteStatus Always return UNKNOWN_REMOTE_STATUS.
Method getRemoteImportance Stub implementation.
Method convertRemoteImportance Stub implementation.
Method getRemoteStatus Stub implementation.
def __init__(self, baseurl='http://example.com/'):
Undocumented
def getRemoteBug(self, remote_bug):
Return the tuple (None, None) as a representation of a remote bug.

We add this method here to prevent tests which need to call it, but which make no use of the output, from failing.

def convertRemoteStatus(self, remote_status):
Always return UNKNOWN_REMOTE_STATUS.

This method exists to satisfy the implementation requirements of IExternalBugTracker.

def getRemoteImportance(self, bug_id):
Stub implementation.
def convertRemoteImportance(self, remote_importance):
Stub implementation.
def getRemoteStatus(self, bug_id):
Stub implementation.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.