l.b.s.t.t.TestRemoteBugUpdater(RemoteBugUpdater) : class documentation

Part of lp.bugs.scripts.tests.test_bugimport View In Hierarchy

No class docstring
Method __init__ Undocumented
Method _getBugWatchesForRemoteBug Returns a list of fake bug watch objects.

Inherited from RemoteBugUpdater:

Method updateRemoteBug Undocumented
Method _convertRemoteStatus Convert a remote status to a Launchpad one and return it.
Method _convertRemoteImportance Convert a remote importance to a Launchpad one and return it.
Method _convertRemoteValue Convert a remote bug value to a Launchpad value and return it.

Inherited from WorkingBase (via RemoteBugUpdater):

Method init Undocumented
Method initFromParent Undocumented
Method interaction Context manager for interaction as the given user.
Method transaction Context manager to ring-fence database activity.
Method statement_logging Context manager to start and stop SQL statement logging.
Method warning Record a warning.
Method error Record an error.
Method _statement_logging_start Start logging SQL statements and other database activity.
Method _statement_logging_stop Stop logging SQL statements.
Method _statement_logging_reset Reset the SQL statement log, if enabled.
def __init__(self, parent, external_bugtracker, remote_bug, bug_watch_ids, unmodified_remote_ids, server_time, bugtracker):
Undocumented
def _getBugWatchesForRemoteBug(self):
Returns a list of fake bug watch objects.

We override this method so that we always return bug watches from our list of fake bug watches.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.