Part of lp.bugs.scripts.checkwatches.tests.test_bugwatchupdater View In Hierarchy
Method | importBugComments | Import all the comments from the remote bug. |
Method | pushBugComments | Push Launchpad comments to the remote bug. |
Method | linkLaunchpadBug | Link a Launchpad bug to a given remote bug. |
Inherited from BugWatchUpdater:
Method | __init__ | Undocumented |
Method | updateBugWatch | Update the BugWatch. |
Method | _formatRemoteComment | Format a comment for a remote bugtracker and return it. |
Inherited from WorkingBase (via BugWatchUpdater):
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. |
Parameters | self.external_bugtracker | An external bugtracker which
implements ISupportsCommentPushing . |
self.bug_watch | The bug watch to which the comments should be pushed. |