Part of lp.codehosting.scanner.tests
| Function | run_as_db_user | Create a decorator that will run a function as the given database user. |
| Class | BzrSyncTestCase | Common base for BzrSync test cases. |
| Class | TestBzrSync | No class docstring; 6/22 methods documented |
| Class | TestPlanDatabaseChanges | Undocumented |
| Class | TestBzrSyncRevisions | Tests for BzrSync.syncRevisions. |
| Class | TestBzrTranslationsUploadJob | Tests BzrSync support for generating TranslationsUploadJobs. |
| Class | TestUpdatePreviewDiffJob | Test the scheduling of jobs to update preview diffs. |
| Class | TestGenerateIncrementalDiffJob | Test the scheduling of GenerateIncrementalDiffJobs. |
| Class | TestSetRecipeStale | Test recipes associated with the branch are marked stale. |
| Class | TestMarkSnapsStale | Test that snap packages associated with the branch are marked stale. |
| Class | TestTriggerWebhooks | Test triggering of webhooks. |
| Class | TestRevisionProperty | Tests for storting revision properties. |