Part of lp.testing View In Hierarchy
Known subclasses: lp.answers.tests.test_publisher.TestRegistration, lp.answers.tests.test_question_webservice.ErrorsTestCase, lp.app.browser.tests.test_css_formatter.TestCSSFormatter, lp.app.browser.tests.test_launchpadform.TestAjaxValidator, lp.app.browser.tests.test_launchpadform.TestHasStructuredDoc, lp.app.browser.tests.test_launchpadform.TestQueryTalesForHasStructuredDoc, lp.app.browser.tests.test_launchpadform.TestWidgetDiv, lp.app.browser.tests.test_page_macro.PageMacroDispatcherTestCase, lp.app.browser.tests.test_stringformatter.TestDiffFormatter, lp.app.browser.tests.test_stringformatter.TestLastParagraphClass, lp.app.browser.tests.test_stringformatter.TestLinkifyingBugs, lp.app.browser.tests.test_stringformatter.TestMarkdown, lp.app.browser.tests.test_stringformatter.TestMarkdownDisabled, lp.app.browser.tests.test_stringformatter.TestOOPSFormatter, lp.app.browser.tests.test_stringformatter.TestParseDiff, lp.app.browser.tests.test_stringformatter.TestSideBySideDiffFormatter, lp.app.tests.test_errors.TestWebServiceErrors, lp.app.tests.test_information_type_vocabulary.TestInformationTypeVocabulary, lp.app.tests.test_launchpad.ExceptionPrivacyTestCase, lp.app.tests.test_launchpad.PrivacyTestCase, lp.app.tests.test_security.TestDelegatedAuthorization, lp.app.tests.test_tales.TestDateTimeFormatterAPI, lp.app.widgets.tests.test_datetime.TestDateTimeWidget, lp.archivepublisher.tests.test_customupload.TestTarfileVerification, lp.archivepublisher.tests.test_deathrow.TestDeathRow, lp.archivepublisher.tests.test_publish_ftpmaster.TestNewerMtime, lp.archivepublisher.tests.test_run_parts.TestExecuteSubprocess, lp.archivepublisher.tests.test_run_parts.TestFindRunPartsDir, lp.archivepublisher.tests.test_run_parts.TestRunParts, lp.archiveuploader.tests.test_changesfile.ChangesFileTests, lp.archiveuploader.tests.test_changesfile.TestDetermineFileClassAndName, lp.archiveuploader.tests.test_changesfile.TestMergeFileLists, lp.archiveuploader.tests.test_changesfile.TestSignatureVerification, lp.archiveuploader.tests.test_dscfile.BaseTestSourceFileVerification, lp.archiveuploader.tests.test_dscfile.TestDscFile, lp.archiveuploader.tests.test_dscfile.UnpackedDirTests, lp.archiveuploader.tests.test_uploadpolicy.TestUploadPolicy_validateUploadType, lp.archiveuploader.tests.test_uploadprocessor.ParseBuildUploadLeafNameTests, lp.archiveuploader.tests.test_utils.TestExtractDpkgSource, lp.archiveuploader.tests.test_utils.TestFilenameRegularExpressions, lp.archiveuploader.tests.test_utils.TestUtilities, lp.blueprints.browser.tests.test_person_upcomingwork.TestWorkItemContainer, lp.blueprints.tests.test_publisher.TestRegistration, lp.bugs.browser.tests.test_bugcomment.TestGroupCommentsWithActivities, lp.bugs.browser.tests.test_expose.TestStructuralSubscriptionHelpers, lp.bugs.externalbugtracker.tests.test_bugzilla.TestBugzillaSniffing, lp.bugs.externalbugtracker.tests.test_debbugs.TestDebBugs, lp.bugs.externalbugtracker.tests.test_externalbugtracker.TestCheckwatchesConfig, lp.bugs.externalbugtracker.tests.test_externalbugtracker.TestExternalBugTracker, lp.bugs.externalbugtracker.tests.test_github.TestGitHub, lp.bugs.externalbugtracker.tests.test_github.TestGitHubRateLimit, lp.bugs.externalbugtracker.tests.test_gitlab.TestGitLab, lp.bugs.externalbugtracker.tests.test_mantis.TestMantisBugBatchParser, lp.bugs.externalbugtracker.tests.test_mantis.TestMantisBugTracker, lp.bugs.externalbugtracker.tests.test_xmlrpc.TestRequestsTransport, lp.bugs.interfaces.tests.test_bugtask.TestFunctions, lp.bugs.mail.tests.test_handler.BugCommandGroupsTestCase, lp.bugs.mail.tests.test_handler.BugCommandGroupTestCase, lp.bugs.mail.tests.test_handler.BugTaskCommandGroupTestCase, lp.bugs.model.tests.test_bugtask.TestBugTaskAdaptation, lp.bugs.model.tests.test_bugtask.TestBugTaskStatuses, lp.bugs.model.tests.test_bugtask.TestBugTaskTags, lp.bugs.model.tests.test_bugtask.TestBugTaskTargetName, lp.bugs.model.tests.test_bugtask.TestBugTaskTargets, lp.bugs.model.tests.test_bugtask.TestEditingBugTask, lp.bugs.model.tests.test_bugtask.TestTargetNameCache, lp.bugs.model.tests.test_bugtasksearch.TestBugTaskSetStatusSearchClauses, lp.bugs.model.tests.test_bugtasksearch.TestBugTaskTagSearchClauses, lp.bugs.model.tests.test_bugtasksearch.TestProcessOrderBy, lp.bugs.scripts.tests.test_bugimport.BugImportCacheTestCase, lp.bugs.scripts.tests.test_bugimport.BugImportScriptTestCase, lp.bugs.scripts.tests.test_bugimport.CheckwatchesErrorRecoveryTestCase, lp.bugs.scripts.tests.test_bugimport.GetMilestoneTestCase, lp.bugs.scripts.tests.test_bugimport.ImportBugTestCase, lp.bugs.scripts.tests.test_bugimport.UtilsTestCase, lp.bugs.scripts.tests.test_bugnotification.TestGetActivityKey, lp.bugs.scripts.tests.test_bugnotification.TestGetEmailNotifications, lp.bugs.scripts.tests.test_bugnotification.TestNotificationSignatureSeparator, lp.bugs.scripts.tests.test_cveimport.TestCVEUpdater, lp.bugs.subscribers.tests.test_bug.NewSubscribers, lp.bugs.tests.test_bugtaskset.TestCountsForProducts, lp.bugs.tests.test_bugtaskset.TestSortingBugTasks, lp.bugs.tests.test_bugtracker.TestMakeBugtrackerName, lp.bugs.tests.test_bugtracker.TestMakeBugtrackerTitle, lp.bugs.tests.test_bugwatch.ExtractBugTrackerAndBugTest, lp.bugs.tests.test_errors.TestWebServiceErrors, lp.bugs.tests.test_publisher.TestRegistration, lp.buildmaster.tests.test_buildfarmjobbehaviour.TestDispatchBuildToSlave, lp.buildmaster.tests.test_interactor.TestBuilderInteractor, lp.buildmaster.tests.test_interactor.TestBuilderInteractorCleanSlave, lp.buildmaster.tests.test_interactor.TestBuilderSlaveStatus, lp.buildmaster.tests.test_interactor.TestSlave, lp.buildmaster.tests.test_interactor.TestSlaveConnectionTimeouts, lp.buildmaster.tests.test_interactor.TestSlaveTimeouts, lp.buildmaster.tests.test_manager.TestBuilddManager, lp.buildmaster.tests.test_manager.TestJudgeFailure, lp.buildmaster.tests.test_manager.TestNewBuilders, lp.buildmaster.tests.test_manager.TestSlaveScannerWithoutDB, lp.code.adapters.tests.test_branch.TestBranchMergeProposalDelta, lp.code.interfaces.tests.test_branch.TestFormatSupport, lp.code.mail.tests.test_codehandler.TestGetCodeEmailCommands, lp.code.mail.tests.test_codehandler.TestVoteEmailCommand, lp.code.model.tests.test_branch.TestBranchDeletionConsequences, lp.code.model.tests.test_branch.TestCodeImport, lp.code.model.tests.test_branchcollection.TestBranchCollectionConvertListingSortToOrderBy, lp.code.model.tests.test_branchhosting.TestBranchHostingClient, lp.code.model.tests.test_codereviewcomment.TestQuoteTextAsEmail, lp.code.model.tests.test_githosting.TestGitHostingClient, lp.code.model.tests.test_revisionauthor.MakeHarryTestCase, lp.code.model.tests.test_revisionauthor.TestRevisionAuthor, lp.code.model.tests.test_revisionauthor.TestRevisionEmailExtraction, lp.code.tests.test_branchurifield.TestBranchURIField, lp.code.tests.test_bzr.TestBazaarFormatEnum, lp.code.tests.test_publisher.TestRegistration, lp.codehosting.codeimport.tests.test_dispatcher.TestCodeImportDispatcherUnit, lp.codehosting.codeimport.tests.test_uifactory.TestLoggingUIFactory, lp.codehosting.codeimport.tests.test_worker.CodeImportBranchOpenPolicyTests, lp.codehosting.codeimport.tests.test_worker.RedirectTests, lp.codehosting.codeimport.tests.test_worker.WorkerTest, lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorIntegration, lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorProtocol, lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorRunNoProcess, lp.codehosting.codeimport.tests.test_workermonitor.TestWorkerMonitorUnit, lp.codehosting.puller.tests.test_errors.TestErrorCatching, lp.codehosting.puller.tests.test_scheduler.TestJobScheduler, lp.codehosting.puller.tests.test_scheduler.TestPullerMaster, lp.codehosting.puller.tests.test_scheduler.TestPullerMasterSpawning, lp.codehosting.puller.tests.test_scheduler.TestPullerMonitorProtocol, lp.codehosting.puller.tests.test_scheduler.TestPullerWireProtocol, lp.codehosting.puller.tests.test_worker.TestMirroredBranchPolicy, lp.codehosting.scanner.tests.test_buglinks.RevisionPropertyParsing, lp.codehosting.scanner.tests.test_mergedetection.TestFindMergedRevno, lp.codehosting.scripts.tests.test_modifiedbranches.TestModifiedBranchesAppendSuffix, lp.codehosting.scripts.tests.test_modifiedbranches.TestModifiedBranchesLastModifiedEpoch, lp.codehosting.scripts.tests.test_modifiedbranches.TestModifiedBranchesStripPrefix, lp.codehosting.scripts.tests.test_modifiedbranches.TestModifiedBranchesUpdateLocations, lp.codehosting.sshserver.tests.test_daemon.TestFactory, lp.codehosting.sshserver.tests.test_daemon.TestXMLRPC, lp.codehosting.sshserver.tests.test_session.Test_WaitForExit, lp.codehosting.sshserver.tests.test_session.TestLookupCommand, lp.codehosting.tests.helpers.AvatarTestCase, lp.codehosting.tests.test_bzrlib.TestBzrlib, lp.codehosting.tests.test_bzrutils.TestExceptionLoggingHooks, lp.codehosting.tests.test_rewrite.TestBranchRewriterScriptHandlesDisconnects, lp.codehosting.tests.test_sftp.TestSFTPAdapter, lp.codehosting.vfs.tests.test_branchfs.TestBranchChangedErrorHandling, lp.codehosting.vfs.tests.test_branchfs.TestBranchIDToPath, lp.codehosting.vfs.tests.test_branchfs.TestBranchTransportDispatch, lp.codehosting.vfs.tests.test_branchfs.TestGetLPServer, lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportAsync, lp.codehosting.vfs.tests.test_branchfs.TestLaunchpadTransportSync, lp.codehosting.vfs.tests.test_branchfs.TestRealBranchLocation, lp.codehosting.vfs.tests.test_branchfs.TestTransportDispatch, lp.codehosting.vfs.tests.test_branchfsclient.TestBranchFileSystemClient, lp.codehosting.vfs.tests.test_hooks.TestSetProcTitleHook, lp.codehosting.vfs.tests.test_transport_extensions.TestReadOnly, lp.hardwaredb.scripts.tests.test_hwdb_submission_parser.TestHWDBSubmissionParser, lp.hardwaredb.scripts.tests.test_hwdb_submission_processing.TestCaseHWDB, lp.hardwaredb.tests.test_hwdb_submission_validation.TestHWDBSubmissionRelaxNGValidation, lp.registry.scripts.tests.test_createbotaccount.TestCreateBotAccount, lp.registry.scripts.tests.test_populate_distroseriesdiff.TestDSDUpdater, lp.registry.tests.test_distribution.TestDistributionCurrentSourceReleases, lp.registry.tests.test_distributionmirror.TestDistributionMirrorSet, lp.registry.tests.test_distributionmirror_prober.TestCDImageFileListFetching, lp.registry.tests.test_distributionmirror_prober.TestLoggingMixin, lp.registry.tests.test_distributionmirror_prober.TestMultiLock, lp.registry.tests.test_distributionmirror_prober.TestProbeFunctionSemaphores, lp.registry.tests.test_distributionmirror_prober.TestProberFactoryRequestTimeoutRatioWithoutTwisted, lp.registry.tests.test_distributionmirror_prober.TestProberFactoryRequestTimeoutRatioWithTwisted, lp.registry.tests.test_distributionmirror_prober.TestProberProtocolAndFactory, lp.registry.tests.test_distributionmirror_prober.TestRedirectAwareProberFactoryAndProtocol, lp.registry.tests.test_distroseries.TestDistroSeriesCurrentSourceReleases, lp.registry.tests.test_errors.TestWebServiceErrors, lp.registry.tests.test_person_sort_key.TestPersonSortKeyInDatabase, lp.registry.tests.test_person_sort_key.TestPersonSortKeyInProcess, lp.registry.tests.test_personset.TestCreatePersonAndEmail, lp.registry.tests.test_prf_finder.ExtractVersionTestCase, lp.registry.tests.test_prf_finder.FindReleasesTestCase, lp.registry.tests.test_prf_finder.HandleProductTestCase, lp.registry.tests.test_prf_finder.HandleReleaseTestCase, lp.registry.tests.test_prf_walker.FTPWalker_Base, lp.registry.tests.test_prf_walker.HTTPWalker_Base, lp.registry.tests.test_prf_walker.HTTPWalker_IsDirectory, lp.registry.tests.test_prf_walker.HTTPWalker_ListDir, lp.registry.tests.test_prf_walker.Walker_CombineUrl, lp.registry.tests.test_prf_walker.WalkerBase_Base, lp.registry.tests.test_prf_walker.WalkerBase_Logging, lp.registry.tests.test_prf_walker.WalkerBase_walk, lp.registry.tests.test_product.TestProductFiles, lp.registry.tests.test_product.ValidationTestCase, lp.registry.tests.test_sourcepackagename.TestSourcePackageNameSet, lp.registry.tests.test_teammembership.TestCheckTeamParticipationScript, lp.scripts.tests.test_garbo.TestBulkPruner, lp.scripts.tests.test_garbo.TestGarboScript, lp.scripts.tests.test_garbo.TestSessionPruner, lp.scripts.tests.test_helpers.TestTransactionFreeOperation, lp.scripts.tests.test_runlaunchpad.CommandLineArgumentProcessing, lp.scripts.tests.test_runlaunchpad.TestDefaultConfigArgument, lp.scripts.tests.test_sphinxdocs.TestSphinxDocumentation, lp.scripts.utilities.js.tests.test_combo.ComboTestBase, lp.scripts.utilities.tests.test_audit_security_settings.TestAuditSecuritySettings, lp.scripts.utilities.tests.test_versioninfo.TestVersionInfo, lp.services.apachelogparser.tests.test_apachelogparser.Test_create_or_update_parsedlog_entry, lp.services.apachelogparser.tests.test_apachelogparser.Test_get_fd_and_file_size, lp.services.apachelogparser.tests.test_apachelogparser.TestLineParsing, lp.services.apachelogparser.tests.test_apachelogparser.TestLogFileParsing, lp.services.apachelogparser.tests.test_apachelogparser.TestParsedFilesDetection, lp.services.auditor.tests.test_server.TestAuditorServer, lp.services.config.tests.test_config_lookup.ConfigTestCase, lp.services.config.tests.test_config_lookup.TestConfigLookup, lp.services.config.tests.test_database_config.TestDatabaseConfig, lp.services.crypto.scripts.tests.test_generatekeypair.TestGenerateKeyPair, lp.services.crypto.tests.test_model.TestNaClEncryptedContainerBase, lp.services.database.tests.test_bulk.TestBasicFunctions, lp.services.database.tests.test_connectionstring.TestConnectionString, lp.services.database.tests.test_isolation.TestIsolation, lp.services.database.tests.test_storm.TestStorm, lp.services.features.browser.tests.test_feature_info.TestUndocumentedFeatureFlags, lp.services.features.tests.test_db_settings.TestFeatureModel, lp.services.features.tests.test_flags.TestFeatureFlags, lp.services.features.tests.test_flags.TestMemoryFeatureRuleSource, lp.services.features.tests.test_flags.TestStormFeatureRuleSource, lp.services.features.tests.test_helpers.TestFeatureFixture, lp.services.features.tests.test_helpers.TestMemoryFeatureFixture, lp.services.features.tests.test_scopes.TestUserSliceScope, lp.services.features.tests.test_webapp.TestScopesFromRequest, lp.services.fields.tests.test_fields.TestBaseImageUpload, lp.services.fields.tests.test_fields.TestFormattableDate, lp.services.fields.tests.test_fields.TestStrippableText, lp.services.fields.tests.test_fields.TestWorkItemsText, lp.services.fields.tests.test_tag_fields.TestTag, lp.services.gpg.tests.test_gpghandler.TestGPGHandler, lp.services.job.tests.test_celery_configuration.TestCeleryWorkerConfiguration, lp.services.job.tests.test_job.TestReadiness, lp.services.librarian.tests.test_client.LibrarianFileWrapperTestCase, lp.services.librarianserver.testing.tests.test_server_fixture.TestLibrarianServerFixture, lp.services.librarianserver.tests.test_apachelogparser.TestLibrarianLogFileParsing, lp.services.librarianserver.tests.test_apachelogparser.TestRequestParsing, lp.services.librarianserver.tests.test_apachelogparser.TestScriptRunning, lp.services.librarianserver.tests.test_db.DBTestCase, lp.services.librarianserver.tests.test_db.TestLibrarianStuff, lp.services.librarianserver.tests.test_db_outage.TestLibrarianDBOutage, lp.services.librarianserver.tests.test_gc.TestBlobCollection, lp.services.librarianserver.tests.test_gc.TestDiskLibrarianGarbageCollection, lp.services.librarianserver.tests.test_gc.TestSwiftLibrarianGarbageCollection, lp.services.librarianserver.tests.test_sigdumpmem.SIGDUMPMEMTestCase, lp.services.librarianserver.tests.test_storage_db.LibrarianStorageDBTests, lp.services.librarianserver.tests.test_storage_db.LibrarianStorageSwiftTests, lp.services.librarianserver.tests.test_swift.TestFeedSwift, lp.services.librarianserver.tests.test_swift.TestHashStream, lp.services.log.tests.test_logger.TestBufferLogger, lp.services.mail.tests.test_commands.TestEmailCommandCollection, lp.services.mail.tests.test_handlers.TestMailHandlers, lp.services.mail.tests.test_helpers.TestParseCommands, lp.services.mail.tests.test_mailbox.TestDirectoryMailBox, lp.services.mail.tests.test_sendmail.TestMailController, lp.services.mailman.tests.test_mm_cfg.TestMHonArchMRC, lp.services.mailman.tests.test_mm_cfg.TestMMCfgDefaultsTestCase, lp.services.mailman.tests.test_mm_cfg.TestMMCfgLaunchpadConfigTestCase, lp.services.mailman.tests.test_mm_cfg.TestSiteTemplates, lp.services.mailman.tests.test_xmlrpcrunner.TestXMLRPCRunnerTimeout, lp.services.memcache.tests.test_memcache_client.MemcacheClientTestCase, lp.services.messaging.tests.test_rabbit.RabbitTestCase, lp.services.messaging.tests.test_rabbit.TestRabbitSessionTransactionSync, lp.services.openid.extensions.tests.test_macaroon.TestGetMacaroonNS, lp.services.openid.extensions.tests.test_macaroon.TestMacaroonResponse, lp.services.openid.tests.test_openidconsumer.OpenIDConsumerStoreTests, lp.services.profile.tests.BaseTest, lp.services.profile.tests.SQLDSLTest, lp.services.rabbit.tests.test_server.TestRabbitServer, lp.services.scripts.tests.test_all_scripts.ScriptsTestCase, lp.services.scripts.tests.test_cronscript_enabled.TestCronscriptEnabled, lp.services.scripts.tests.test_feature_controller.TestScriptFeatureController, lp.services.scripts.tests.test_logger.TestLaunchpadFormatter, lp.services.session.tests.test_session.TestSessionModelAdapters, lp.services.sitesearch.tests.test_bing.TestBingSearchService, lp.services.sitesearch.tests.test_pagematch.TestPageMatches, lp.services.sitesearch.tests.test_pagematch.TestPageMatchURLHandling, lp.services.tests.test_command_spawner.TestCommandSpawner, lp.services.tests.test_command_spawner.TestCommandSpawnerAcceptance, lp.services.tests.test_command_spawner.TestOutputLineHandler, lp.services.tests.test_looptuner.TestSomething, lp.services.tests.test_mime.TestBzip, lp.services.tests.test_osutils.TestEnsureDirectoryExists, lp.services.tests.test_osutils.TestFindOnPath, lp.services.tests.test_osutils.TestOpenForWriting, lp.services.tests.test_osutils.TestProcessExists, lp.services.tests.test_osutils.TestRemoveTree, lp.services.tests.test_osutils.TestWriteFile, lp.services.tests.test_stacktrace.TestStacktrace, lp.services.tests.test_timeout.TestTimeout, lp.services.tests.test_utils.TestAutoDecorate, lp.services.tests.test_utils.TestBase, lp.services.tests.test_utils.TestBZ2Pickle, lp.services.tests.test_utils.TestCachingIterator, lp.services.tests.test_utils.TestDecorateWith, lp.services.tests.test_utils.TestDocstringDedent, lp.services.tests.test_utils.TestFileExists, lp.services.tests.test_utils.TestIterateSplit, lp.services.tests.test_utils.TestIterChunks, lp.services.tests.test_utils.TestObfuscateStructure, lp.services.tests.test_utils.TestRunCapturingOutput, lp.services.tests.test_utils.TestSanitiseURLs, lp.services.tests.test_utils.TestSecondsSinceEpoch, lp.services.tests.test_utils.TestTracebackInfo, lp.services.tests.test_utils.TestUTCNow, lp.services.tests.test_vocabularies.TestVocabularies, lp.services.tests.test_xmlrpc.TestTransport, lp.services.twistedsupport.tests.test_gracefulshutdown.TestConnTrackingFactoryWrapper, lp.services.twistedsupport.tests.test_gracefulshutdown.TestOrderedMultiService, lp.services.twistedsupport.tests.test_gracefulshutdown.TestServerAvailableResource, lp.services.twistedsupport.tests.test_loggingsupport.TestLaunchpadLogFile, lp.services.twistedsupport.tests.test_processmonitor.TestProcessMonitorProtocol, lp.services.twistedsupport.tests.test_processmonitor.TestProcessMonitorProtocolWithTimeout, lp.services.twistedsupport.tests.test_processmonitor.TestProcessProtocolWithTwoStageKill, lp.services.twistedsupport.tests.test_processmonitor.TestProcessWithTimeout, lp.services.twistedsupport.tests.test_processmonitor.TestRunProcessWithTimeout, lp.services.twistedsupport.tests.test_task.TestParallelLimitedTaskConsumer, lp.services.twistedsupport.tests.test_task.TestPollingTaskSource, lp.services.twistedsupport.tests.test_twistedsupport.TestCancelOnTimeout, lp.services.twistedsupport.tests.test_twistedsupport.TestExtractResult, lp.services.twistedsupport.tests.test_xmlrpc.TestBlockingProxy, lp.services.twistedsupport.tests.test_xmlrpc.TestDeferredBlockingProxy, lp.services.twistedsupport.tests.test_xmlrpc.TestTrapFault, lp.services.webapp.tests.test_authentication.TestOAuthParsing, lp.services.webapp.tests.test_authorization.TestAvailableWithPermission, lp.services.webapp.tests.test_authorization.TestCheckPermissionCaching, lp.services.webapp.tests.test_authorization.TestIterAuthorization, lp.services.webapp.tests.test_authorization.TestLaunchpadSecurityPolicy_getPrincipalsAccessLevel, lp.services.webapp.tests.test_authorization.TestPrecachePermissionForObjects, lp.services.webapp.tests.test_breadcrumbs.TestBreadcrumb, lp.services.webapp.tests.test_dbpolicy.ImplicitDatabasePolicyTestCase, lp.services.webapp.tests.test_dbpolicy.LayerDatabasePolicyTestCase, lp.services.webapp.tests.test_dbpolicy.MasterFallbackTestCase, lp.services.webapp.tests.test_dbpolicy.TestFastDowntimeRollout, lp.services.webapp.tests.test_error.TestDatabaseErrorViews, lp.services.webapp.tests.test_error.TestSystemErrorView, lp.services.webapp.tests.test_errorlog.TestErrorReportingUtility, lp.services.webapp.tests.test_escaping.TestHtmlEscape, lp.services.webapp.tests.test_escaping.TestStructured, lp.services.webapp.tests.test_forgiving_vocabulary.TestForgivingSimpleVocabulary, lp.services.webapp.tests.test_haproxy.HAProxyIntegrationTest, lp.services.webapp.tests.test_initialization.TestURLNamespace, lp.services.webapp.tests.test_initialization.TestWrappedParameterConverter, lp.services.webapp.tests.test_login.TestMissingServerShowsNiceErrorPage, lp.services.webapp.tests.test_menu.TestMenuBaseLinkCaching, lp.services.webapp.tests.test_metazcml.TestCallDirective, lp.services.webapp.tests.test_navigation.TestNavigationDirective, lp.services.webapp.tests.test_pageid.LaunchpadBrowserPublicationPageIDTestCase, lp.services.webapp.tests.test_pageid.TestCollectionResourcePageIDs, lp.services.webapp.tests.test_pageid.TestPageIdCorners, lp.services.webapp.tests.test_pageid.TestWebServicePageIDs, lp.services.webapp.tests.test_publication.TestBlockingOffsitePosts, lp.services.webapp.tests.test_publication.TestLaunchpadBrowserPublication, lp.services.webapp.tests.test_servers.LaunchpadBrowserResponseHeaderInjection, lp.services.webapp.tests.test_servers.SetInWSGIEnvironmentTestCase, lp.services.webapp.tests.test_servers.TestApplicationServerSettingRequestFactory, lp.services.webapp.tests.test_servers.TestBasicLaunchpadRequest, lp.services.webapp.tests.test_servers.TestFeedsBrowserRequest, lp.services.webapp.tests.test_servers.TestFinishReadOnlyRequest, lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequest, lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequest_getNearest, lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequestMixinWithLaunchpadBrowserRequest, lp.services.webapp.tests.test_servers.TestLaunchpadBrowserRequestMixinWithLaunchpadTestRequest, lp.services.webapp.tests.test_servers.TestPrivateXMLRPCRequest, lp.services.webapp.tests.test_servers.TestWSGINativeString, lp.services.webapp.tests.test_sigdumpmem.SIGDUMPMEMTestCase, lp.services.webapp.tests.test_sighup.SIGHUPTestCase, lp.services.webapp.tests.test_statementtracer.TestLoggingOutsideOfRequest, lp.services.webapp.tests.test_user_requested_oops.TestUserRequestedOops, lp.services.webservice.tests.test_json.TestStrJSONSerializer, lp.services.webservice.tests.test_wadl_generation.SmokeTestWadlAndDocGeneration, lp.snappy.adapters.tests.test_buildarch.TestDetermineArchitecturesToBuild, lp.snappy.adapters.tests.test_buildarch.TestSnapArchitecture, lp.snappy.adapters.tests.test_buildarch.TestSnapBuildInstance, lp.snappy.adapters.tests.test_buildarch.TestSnapBuildInstanceError, lp.snappy.tests.test_snapbuildbehaviour.FormatAsRfc3339TestCase, lp.snappy.tests.test_snapstoreclient.TestMacaroonAuth, lp.soyuz.adapters.tests.test_buildarch.TestDetermineArchitecturesToBuild, lp.soyuz.adapters.tests.test_buildarch.TestDpkgArchitectureCache, lp.soyuz.browser.tests.test_package_copying_mixin.TestPackageCopyingMixinLight, lp.soyuz.scripts.tests.test_gina.TestArchiveFilesystemInfo, lp.soyuz.scripts.tests.test_obsoletedistroseries.TestObsoleteDistroseriesScript, lp.soyuz.scripts.tests.test_ppa_apache_log_parser.TestPathParsing, lp.soyuz.scripts.tests.test_ppakeygenerator.TestPPAKeyGenerator, lp.soyuz.tests.test_packageupload.TestPackageUploadCustom, lp.testing.AbstractYUITestCase, lp.testing.keyserver.tests.test_harness.TestKeyServerTac, lp.testing.keyserver.tests.test_inprocess.TestInProcessKeyServerFixture, lp.testing.keyserver.tests.test_locate_key.LocateKeyTestCase, lp.testing.keyserver.tests.test_web.TestWebResources, lp.testing.swift.tests.test_fixture.TestSwiftFixture, lp.testing.TestCaseWithFactory, lp.testing.tests.test_dbuser.TestDbUser, lp.testing.tests.test_fixture.TestCaptureOopsNoRabbit, lp.testing.tests.test_fixture.TestCaptureOopsRabbit, lp.testing.tests.test_fixture.TestDisableTriggerFixture, lp.testing.tests.test_fixture.TestPGBouncerFixtureWithCA, lp.testing.tests.test_fixture.TestPGBouncerFixtureWithoutCA, lp.testing.tests.test_fixture.TestZopeAdapterFixture, lp.testing.tests.test_fixture.TestZopeUtilityFixture, lp.testing.tests.test_layers.TestThreadWaiting, lp.testing.tests.test_matchers.ContainsTests, lp.testing.tests.test_matchers.DoesNotContainTests, lp.testing.tests.test_matchers.DoesNotCorrectlyProvideMismatchTests, lp.testing.tests.test_matchers.DoesNotProvideTests, lp.testing.tests.test_matchers.EqualsIgnoringWhitespaceTests, lp.testing.tests.test_matchers.IsNotProxiedTests, lp.testing.tests.test_matchers.IsProxiedTests, lp.testing.tests.test_matchers.ProvidesAndIsProxiedTests, lp.testing.tests.test_matchers.ProvidesTests, lp.testing.tests.test_matchers.TestQueryMatching, lp.testing.tests.test_sampledata.SampleDataTestCase, lp.testing.tests.test_standard_test_template.TestSomething, lp.testing.tests.test_testcase.TestRemoveLoggingHandlers, lp.testing.tests.test_testing.TestFeatureFlags, lp.testing.tests.test_testing.TestYUIUnitTestCase, lp.testing.tests.test_yuixhr.TestYUITestFixtureController, lp.translations.browser.tests.test_translationimportqueueentry.TestEscapeJSString, lp.translations.pottery.tests.test_detect_intltool.TestDetectIntltoolInBzrTree, lp.translations.scripts.tests.test_remove_translations.TestRemoveTranslations, lp.translations.scripts.tests.test_remove_translations.TestRemoveTranslationsConstraints, lp.translations.scripts.tests.test_remove_translations.TestRemoveTranslationsOptionsHandling, lp.translations.tests.test_publisher.TestRegistration, lp.translations.utilities.tests.test_sanitize.TestSanitizer, lp.translations.utilities.tests.test_sanitize.TestSanitizeTranslations, lp.translations.utilities.tests.test_validate.TestTranslationValidation, lp.xmlrpc.tests.test_private_xmlrpc.TestPrivateXMLRPC
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 | setUp | Undocumented |
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. |
dbuser
.
For this to work, the test must run in a layer.
Try to test every code path at least once under a realistic db user, or you'll hit privilege violations later on.
The most descriptive way of writing down a test is to write down its id. It is usually the fully-qualified Python name, which is pretty handy.
The context will be cleaned via addCleanup.
KarmaRecorder
.
Registers the karma recorder immediately, and ensures that it is unregistered after the test.
Assert that a callable performs a given notification. :param event_type: One or more event types that notification is expected for. :param propagate: If True, propagate events to their normal subscribers. :param callable_obj: The callable to call. :param *args: The arguments to pass to the callable. :param **kwargs: The keyword arguments to pass to the callable. :return: (result, event), where result was the return value of the callable, and event is the event emitted by the callable.
Assert that no notifications are generated by the callable. :param callable_obj: The callable to call. :param *args: The arguments to pass to the callable. :param **kwargs: The keyword arguments to pass to the callable.
Use this method to test that date value that may be UTC_NOW is equal to another date value. Trickery is required because SQLBuilder truth semantics cause UTC_NOW to appear equal to all dates.
Parameters | sql_object | a security-proxied SQLObject instance. |
attribute_name | the name of a database column in the table associated to this object. | |
date | datetime.datetime object or UTC_NOW . |
instance and assert_class have the same semantics as the parameters to isinstance.
expected
is not the same object as observed
.If the exception isn't raised or the exception_content doesn't match what was raised an AssertionError is raised.
Takes any number of (expected, observed) tuples and asserts each equality in one operation, thus making sure all tests are performed. If any of the tuples mismatches, AssertionError is raised.
The config values will be restored during test tearDown.
Returns | Returns the result of calling the function. |
The headers are unfolded before being compared.
Check if the used_permissions match expected_permissions. :param expected_permissions: A dictionary mapping a permission to a set of attribute names. :param used_permissions: The property get_permissions or set_permissions of getChecker(security_proxied_object). :param type_: The string "set" or "get".