Part of lp.bugs.scripts.tests.test_bugimport View In Hierarchy
ExternalBugTracker object.
This external bug tracker is used for testing
ExternalBugTracker.updateWatches. It overrides several methods
in order to simulate the syncing of two bug watches, one of which
is guaranteed to trigger a database error.
| Method | getRemoteBug | Return the bug_id and an empty dictionary for data. |
| Method | getRemoteStatus | Returns a remote status as a string. |
| Method | convertRemoteStatus | Returns a hard-coded malone status - FIXRELEASED. |
| Method | getRemoteImportance | See ExternalBugTracker. |
| Method | convertRemoteImportance | See ExternalBugTracker. |
The result will be ignored, since we force a specific status
in getRemoteStatus and convertRemoteStatus.
The result will be ignored, since we force a specific malone
status in convertRemoteStatus.
FIXRELEASED.
We rely on the result for comparison in
test_checkbugwatches_error_recovery.