l.s.t.t.TestGarbo(FakeAdapterMixin, TestCaseWithFactory) : class documentation

Part of lp.scripts.tests.test_garbo View In Hierarchy

Undocumented
Method setUp Undocumented
Method runFrequently Undocumented
Method runDaily Undocumented
Method runHourly Undocumented
Method test_persist_garbo_state Undocumented
Method test_OpenIDConsumerNoncePruner Undocumented
Method test_CodeImportResultPruner Undocumented
Method test_CodeImportEventPruner Undocumented
Method test_OpenIDConsumerAssociationPruner Undocumented
Method test_PreviewDiffPruner Undocumented
Method test_PreviewDiffPruner_with_inline_comments Undocumented
Method test_DiffPruner Undocumented
Method test_RevisionAuthorEmailLinker Undocumented
Method test_HWSubmissionEmailLinker Undocumented
Method test_PersonPruner Undocumented
Method test_TeamMembershipPruner Undocumented
Method test_BugNotificationPruner Undocumented
Method test_AnswerContactPruner_deactivated_accounts Undocumented
Method test_AnswerContactPruner_suspended_accounts Undocumented
Method test_AnswerContactPruner_doesnt_prune_recently_changed_accounts Undocumented
Method test_BranchJobPruner Undocumented
Method test_BranchJobPruner_doesnt_prune_recent_jobs Undocumented
Method test_GitJobPruner Undocumented
Method test_GitJobPruner_doesnt_prune_recent_jobs Undocumented
Method test_SnapBuildJobPruner Undocumented
Method test_SnapBuildJobPruner_doesnt_prune_recent_jobs Undocumented
Method test_SnapBuildJobPruner_doesnt_prune_most_recent_job_for_build Undocumented
Method test_WebhookJobPruner Undocumented
Method test_ObsoleteBugAttachmentPruner Undocumented
Method test_TimeLimitedTokenPruner Undocumented
Method test_CacheSuggestivePOTemplates Undocumented
Method test_BugSummaryJournalRollup Undocumented
Method test_VoucherRedeemer Undocumented
Method test_UnusedPOTMsgSetPruner_removes_obsolete_message_sets Undocumented
Method test_UnusedPOTMsgSetPruner_preserves_used_potmsgsets Undocumented
Method test_UnusedPOTMsgSetPruner_removes_unreferenced_message_sets Undocumented
Method test_BugHeatUpdater_sees_feature_flag Undocumented
Method getAccessPolicyTypes Undocumented
Method test_UnusedAccessPolicyPruner Undocumented
Method test_ProductVCSPopulator Undocumented
Method test_PopulateDistributionSourcePackageCache Undocumented
Method test_PopulateLatestPersonSourcePackageReleaseCache Undocumented
Method test_LiveFSFilePruner_old_binary_files Undocumented
Method test_LiveFSFilePruner_old_text_files Undocumented
Method test_LiveFSFilePruner_recent_binary_files Undocumented
Method test_LiveFSFilePruner_custom_interval_old_binary_files Undocumented
Method test_LiveFSFilePruner_custom_interval_recent_binary_files Undocumented
Method test_LiveFSFilePruner_null_interval_disables_pruning Undocumented
Method test_LiveFSFilePruner_base_image Undocumented
Method test_LiveFSFilePruner_other_base_image Undocumented
Method test_SnapFilePruner_old_snap_files Undocumented
Method test_SnapFilePruner_old_non_snap_files Undocumented
Method test_SnapFilePruner_recent_binary_files Undocumented
Method test_SnapFilePruner_binary_files_failed_to_upload Undocumented
Method test_SnapFilePruner_binary_files_no_upload_job Undocumented
Method _test_AnswerContactPruner Undocumented
Method _test_LiveFSFilePruner Undocumented
Method _test_SnapFilePruner Undocumented

Inherited from FakeAdapterMixin:

Method registerAdapter Register an adapter from the required interfacs to the provided.
Method registerAuthorizationAdapter Register a security checker to test authorisation.
Method registerBrowserViewAdapter Register a security checker to test authorization.
Method getAdapter Undocumented
Method registerUtility Undocumented

Inherited from TestCaseWithFactory:

Method getUserBrowser Return a Browser logged in as a fresh user, maybe opened at url.
Method getNonRedirectingBrowser Undocumented
Method createBranchAtURL Create a branch at the supplied URL.
Method create_branch_and_tree Create a database branch, bzr branch and bzr checkout.
Method createBzrBranch Create a bzr branch for a database branch.
Static Method getBranchPath Return the path of the branch in the mirrored area.
Method useTempBzrHome Undocumented
Method useBzrBranches Prepare for using bzr branches.

Inherited from TestCase (via TestCaseWithFactory):

Method becomeDbUser Commit, then log into the database as dbuser.
Method __str__ The string representation of a test is its id.
Method useContext Use the supplied context in this test.
Method makeTemporaryDirectory Create a temporary directory, and return its path.
Method installKarmaRecorder Set up and return a KarmaRecorder.
Method assertProvides Assert 'obj' correctly provides 'interface'.
Method assertNotifies Assert that a callable performs a given notification.
Method assertNoNotification Assert that no notifications are generated by the callable.
Method assertSqlAttributeEqualsDate Fail unless the value of the attribute is equal to the date.
Method assertTextMatchesExpressionIgnoreWhitespace Undocumented
Method assertIsInstance Assert that an instance is an instance of assert_class.
Method assertIsNot Assert that expected is not the same object as observed.
Method assertContentEqual Assert that 'iter1' has the same content as 'iter2'.
Method assertRaisesWithContent Check if the given exception is raised with given content.
Method assertBetween Assert that 'variable' is strictly between two boundaries.
Method assertVectorEqual Apply assertEqual to all given pairs in one go.
Method expectedLog Expect a log to be written that matches the regex.
Method pushConfig Push some key-value pairs into a section of the config.
Method attachOopses Undocumented
Method attachLibrarianLog Include the logChunks from fixture in the test details.
Method assertStatementCount Assert that the expected number of SQL statements occurred.
Method useTempDir Use a temporary directory for this test.
Method assertEmailHeadersEqual Assert that two email headers are equal.
Method assertStartsWith Undocumented
Method assertEndsWith Asserts that s ends with suffix.
Method checkPermissions Check if the used_permissions match expected_permissions.
Method assertEmailQueueLength Pop the email queue, assert its length, and return it.
Method _unfoldEmailHeader Unfold a multiline email header.
def setUp(self):
Undocumented
def runFrequently(self, maximum_chunk_size=2, test_args=()):
Undocumented
def runDaily(self, maximum_chunk_size=2, test_args=()):
Undocumented
def runHourly(self, maximum_chunk_size=2, test_args=()):
Undocumented
def test_persist_garbo_state(self):
Undocumented
def test_OpenIDConsumerNoncePruner(self):
Undocumented
def test_CodeImportResultPruner(self):
Undocumented
def test_CodeImportEventPruner(self):
Undocumented
def test_OpenIDConsumerAssociationPruner(self):
Undocumented
def test_PreviewDiffPruner(self):
Undocumented
def test_PreviewDiffPruner_with_inline_comments(self):
Undocumented
def test_DiffPruner(self):
Undocumented
def test_RevisionAuthorEmailLinker(self):
Undocumented
def test_HWSubmissionEmailLinker(self):
Undocumented
def test_PersonPruner(self):
Undocumented
def test_TeamMembershipPruner(self):
Undocumented
def test_BugNotificationPruner(self):
Undocumented
def _test_AnswerContactPruner(self, status, interval, expected_count=0):
Undocumented
def test_AnswerContactPruner_deactivated_accounts(self):
Undocumented
def test_AnswerContactPruner_suspended_accounts(self):
Undocumented
def test_AnswerContactPruner_doesnt_prune_recently_changed_accounts(self):
Undocumented
def test_BranchJobPruner(self):
Undocumented
def test_BranchJobPruner_doesnt_prune_recent_jobs(self):
Undocumented
def test_GitJobPruner(self):
Undocumented
def test_GitJobPruner_doesnt_prune_recent_jobs(self):
Undocumented
def test_SnapBuildJobPruner(self):
Undocumented
def test_SnapBuildJobPruner_doesnt_prune_recent_jobs(self):
Undocumented
def test_SnapBuildJobPruner_doesnt_prune_most_recent_job_for_build(self):
Undocumented
def test_WebhookJobPruner(self):
Undocumented
def test_ObsoleteBugAttachmentPruner(self):
Undocumented
def test_TimeLimitedTokenPruner(self):
Undocumented
def test_CacheSuggestivePOTemplates(self):
Undocumented
def test_BugSummaryJournalRollup(self):
Undocumented
def test_VoucherRedeemer(self):
Undocumented
def test_UnusedPOTMsgSetPruner_removes_obsolete_message_sets(self):
Undocumented
def test_UnusedPOTMsgSetPruner_preserves_used_potmsgsets(self):
Undocumented
def test_UnusedPOTMsgSetPruner_removes_unreferenced_message_sets(self):
Undocumented
def test_BugHeatUpdater_sees_feature_flag(self):
Undocumented
def getAccessPolicyTypes(self, pillar):
Undocumented
def test_UnusedAccessPolicyPruner(self):
Undocumented
def test_ProductVCSPopulator(self):
Undocumented
def test_PopulateDistributionSourcePackageCache(self):
Undocumented
def test_PopulateLatestPersonSourcePackageReleaseCache(self):
Undocumented
def _test_LiveFSFilePruner(self, content_type, interval, keep_binary_files_days=_default, base_image=False, expected_count=0, **livefsbuild_kwargs):
Undocumented
def test_LiveFSFilePruner_old_binary_files(self):
Undocumented
def test_LiveFSFilePruner_old_text_files(self):
Undocumented
def test_LiveFSFilePruner_recent_binary_files(self):
Undocumented
def test_LiveFSFilePruner_custom_interval_old_binary_files(self):
Undocumented
def test_LiveFSFilePruner_custom_interval_recent_binary_files(self):
Undocumented
def test_LiveFSFilePruner_null_interval_disables_pruning(self):
Undocumented
def test_LiveFSFilePruner_base_image(self):
Undocumented
def test_LiveFSFilePruner_other_base_image(self):
Undocumented
def _test_SnapFilePruner(self, filename, job_status, interval, expected_count=0):
Undocumented
def test_SnapFilePruner_old_snap_files(self):
Undocumented
def test_SnapFilePruner_old_non_snap_files(self):
Undocumented
def test_SnapFilePruner_recent_binary_files(self):
Undocumented
def test_SnapFilePruner_binary_files_failed_to_upload(self):
Undocumented
def test_SnapFilePruner_binary_files_no_upload_job(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.