l.t.t.t.TestFactory(TestCaseWithFactory) : class documentation

Part of lp.testing.tests.test_factory View In Hierarchy

Undocumented
Method test_getOrMakeBinaryPackageName_returns_proxied_IBPN Undocumented
Method test_getOrMakeBinaryPackageName_returns_existing_name Undocumented
Method test_loginAsAnyone Undocumented
Method test_makeBinaryPackageBuild_returns_IBinaryPackageBuild Undocumented
Method test_makeBinaryPackageBuild_returns_proxy Undocumented
Method test_makeBinaryPackageBuild_created_SPR_is_published Undocumented
Method test_makeBinaryPackageBuild_uses_status Undocumented
Method test_makeBinaryPackageBuild_uses_pocket Undocumented
Method test_makeBinaryPackageBuild_can_be_queued Undocumented
Method test_makeBinaryPackageName_returns_proxied_IBinaryPackageName Undocumented
Method test_makeBinaryPackagePublishingHistory_returns_IBPPH Undocumented
Method test_makeBinaryPackagePublishingHistory_returns_proxied Undocumented
Method test_makeBinaryPackagePublishingHistory_uses_status Undocumented
Method test_makeBinaryPackagePublishingHistory_uses_dateremoved Undocumented
Method test_makeBinaryPackagePublishingHistory_scheduleddeletiondate Undocumented
Method test_makeBinaryPackagePublishingHistory_uses_priority Undocumented
Method test_makeBinaryPackagePublishingHistory_sets_datecreated Undocumented
Method test_makeBinaryPackagePublishingHistory_uses_datecreated Undocumented
Method test_makeBinaryPackagePublishingHistory_sets_datepub_PENDING Undocumented
Method test_makeBinaryPackagePublishingHistory_sets_datepub_PUBLISHED Undocumented
Method test_makeBinaryPackageRelease_returns_IBinaryPackageRelease Undocumented
Method test_makeBinaryPackageRelease_uses_build Undocumented
Method test_makeBinaryPackageRelease_uses_build_version Undocumented
Method test_makeBinaryPackageRelease_uses_build_component Undocumented
Method test_makeBinaryPackageRelease_uses_build_section Undocumented
Method test_makeBinaryPackageRelease_matches_build_version Undocumented
Method test_makeBinaryPackageRelease_matches_build_component Undocumented
Method test_makeBinaryPackageRelease_matches_build_section Undocumented
Method test_makeBinaryPackageRelease_uses_shlibdeps Undocumented
Method test_makeBinaryPackageRelease_allows_None_shlibdeps Undocumented
Method test_makeBinaryPackageRelease_uses_depends Undocumented
Method test_makeBinaryPackageRelease_allows_None_depends Undocumented
Method test_makeBinaryPackageRelease_uses_recommends Undocumented
Method test_makeBinaryPackageRelease_allows_None_recommends Undocumented
Method test_makeBinaryPackageRelease_uses_suggests Undocumented
Method test_makeBinaryPackageRelease_allows_None_suggests Undocumented
Method test_makeBinaryPackageRelease_uses_conflicts Undocumented
Method test_makeBinaryPackageRelease_allows_None_conflicts Undocumented
Method test_makeBinaryPackageRelease_uses_replaces Undocumented
Method test_makeBinaryPackageRelease_allows_None_replaces Undocumented
Method test_makeBinaryPackageRelease_uses_provides Undocumented
Method test_makeBinaryPackageRelease_allows_None_provides Undocumented
Method test_makeBinaryPackageRelease_uses_pre_depends Undocumented
Method test_makeBinaryPackageRelease_allows_None_pre_depends Undocumented
Method test_makeBinaryPackageRelease_uses_enhances Undocumented
Method test_makeBinaryPackageRelease_allows_None_enhances Undocumented
Method test_makeBinaryPackageRelease_uses_breaks Undocumented
Method test_makeBinaryPackageRelease_allows_None_breaks Undocumented
Method test_makeBinaryPackageRelease_uses_essential Undocumented
Method test_makeBinaryPackageRelease_uses_installed_size Undocumented
Method test_makeBinaryPackageName_uses_date_created Undocumented
Method test_makeBinaryPackageName_uses_debug_package Undocumented
Method test_makeBinaryPackageName_allows_None_debug_package Undocumented
Method test_makeBranch_initialMirrorRequest Undocumented
Method test_makeCodeImportNoStatus Undocumented
Method test_makeCodeImportReviewStatus Undocumented
Method test_makeDistribution_returns_IDistribution Undocumented
Method test_makeDistribution_returns_proxy Undocumented
Method test_makeDistribution_created_name_starts_with_distribution Undocumented
Method test_makeDistribution_created_display_name_starts_Distribution Undocumented
Method test_makeDistroSeries_returns_IDistroSeries Undocumented
Method test_makeDistroSeries_returns_proxy Undocumented
Method test_makeDistroSeries_created_name_starts_with_distroseries Undocumented
Method test_makeDistroSeries_created_display_name_starts_Distroseries Undocumented
Method test_makeComponentSelection_makes_ComponentSelection Undocumented
Method test_makeComponentSelection_uses_distroseries Undocumented
Method test_makeComponentSelection_uses_component Undocumented
Method test_makeComponentSelection_finds_component Undocumented
Method test_makeLanguage Undocumented
Method test_makeLanguage_with_code Undocumented
Method test_makeLanguage_with_name Undocumented
Method test_makeLanguage_with_pluralforms Undocumented
Method test_makeLanguage_with_plural_expression Undocumented
Method test_makeSourcePackagePublishingHistory_returns_ISPPH Undocumented
Method test_makeSourcePackagePublishingHistory_returns_proxied Undocumented
Method test_makeSourcePackagePublishingHistory_uses_spr Undocumented
Method test_makeSourcePackagePublishingHistory_uses_status Undocumented
Method test_makeSourcePackagePublishingHistory_uses_date_uploaded Undocumented
Method test_makeSourcePackagePublishingHistory_uses_dateremoved Undocumented
Method test_makeSourcePackagePublishingHistory_scheduleddeletiondate Undocumented
Method test_makeSourcePackagePublishingHistory_datepublished_PENDING Undocumented
Method test_makeSourcePackagePublishingHistory_datepublished_PUBLISHED Undocumented
Method test_makeSourcePackageRelease_returns_proxied_ISPR Undocumented
Method test_makeSourcePackageRelease_uses_dsc_maintainer_rfc822 Undocumented
Method test_makeSPPHForBPPH_returns_ISPPH Undocumented
Method test_makeSPPHForBPPH_returns_SPPH_for_BPPH Undocumented
Method test_makeSuiteSourcePackage_returns_ISuiteSourcePackage Undocumented
Method test_makeCurrentTranslationMessage_makes_shared_message Undocumented
Method test_makeCurrentTranslationMessage_makes_diverged_message Undocumented
Method test_makeCurrentTranslationMessage_makes_current_upstream Undocumented
Method test_makeCurrentTranslationMessage_makes_current_ubuntu Undocumented
Method test_makeCurrentTranslationMessage_makes_current_tracking Undocumented
Method test_makeCurrentTranslationMessage_uses_given_translation Undocumented
Method test_makeCurrentTranslationMessage_sets_reviewer Undocumented
Method test_makeCurrentTranslationMessage_creates_reviewer Undocumented
Method test_makeDivergedTranslationMessage_upstream Undocumented
Method test_makeDivergedTranslationMessage_ubuntu Undocumented
Method test_makeCVE_returns_cve Undocumented
Method test_makeCVE_uses_sequence Undocumented
Method test_makeCVE_uses_description Undocumented
Method test_makeCVE_uses_cve_status Undocumented
Method test_dir Undocumented
Method test_getUniqueString_with_prefix Undocumented
Method test_getUniqueString_with_default_prefix Undocumented

Inherited from TestCaseWithFactory:

Method setUp Undocumented
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 test_getOrMakeBinaryPackageName_returns_proxied_IBPN(self):
Undocumented
def test_getOrMakeBinaryPackageName_returns_existing_name(self):
Undocumented
def test_loginAsAnyone(self):
Undocumented
def test_makeBinaryPackageBuild_returns_IBinaryPackageBuild(self):
Undocumented
def test_makeBinaryPackageBuild_returns_proxy(self):
Undocumented
def test_makeBinaryPackageBuild_created_SPR_is_published(self):
Undocumented
def test_makeBinaryPackageBuild_uses_status(self):
Undocumented
def test_makeBinaryPackageBuild_uses_pocket(self):
Undocumented
def test_makeBinaryPackageBuild_can_be_queued(self):
Undocumented
def test_makeBinaryPackageName_returns_proxied_IBinaryPackageName(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_returns_IBPPH(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_returns_proxied(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_uses_status(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_uses_dateremoved(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_scheduleddeletiondate(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_uses_priority(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_sets_datecreated(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_uses_datecreated(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_sets_datepub_PENDING(self):
Undocumented
def test_makeBinaryPackagePublishingHistory_sets_datepub_PUBLISHED(self):
Undocumented
def test_makeBinaryPackageRelease_returns_IBinaryPackageRelease(self):
Undocumented
def test_makeBinaryPackageRelease_uses_build(self):
Undocumented
def test_makeBinaryPackageRelease_uses_build_version(self):
Undocumented
def test_makeBinaryPackageRelease_uses_build_component(self):
Undocumented
def test_makeBinaryPackageRelease_uses_build_section(self):
Undocumented
def test_makeBinaryPackageRelease_matches_build_version(self):
Undocumented
def test_makeBinaryPackageRelease_matches_build_component(self):
Undocumented
def test_makeBinaryPackageRelease_matches_build_section(self):
Undocumented
def test_makeBinaryPackageRelease_uses_shlibdeps(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_shlibdeps(self):
Undocumented
def test_makeBinaryPackageRelease_uses_depends(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_depends(self):
Undocumented
def test_makeBinaryPackageRelease_uses_recommends(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_recommends(self):
Undocumented
def test_makeBinaryPackageRelease_uses_suggests(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_suggests(self):
Undocumented
def test_makeBinaryPackageRelease_uses_conflicts(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_conflicts(self):
Undocumented
def test_makeBinaryPackageRelease_uses_replaces(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_replaces(self):
Undocumented
def test_makeBinaryPackageRelease_uses_provides(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_provides(self):
Undocumented
def test_makeBinaryPackageRelease_uses_pre_depends(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_pre_depends(self):
Undocumented
def test_makeBinaryPackageRelease_uses_enhances(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_enhances(self):
Undocumented
def test_makeBinaryPackageRelease_uses_breaks(self):
Undocumented
def test_makeBinaryPackageRelease_allows_None_breaks(self):
Undocumented
def test_makeBinaryPackageRelease_uses_essential(self):
Undocumented
def test_makeBinaryPackageRelease_uses_installed_size(self):
Undocumented
def test_makeBinaryPackageName_uses_date_created(self):
Undocumented
def test_makeBinaryPackageName_uses_debug_package(self):
Undocumented
def test_makeBinaryPackageName_allows_None_debug_package(self):
Undocumented
def test_makeBranch_initialMirrorRequest(self):
Undocumented
def test_makeCodeImportNoStatus(self):
Undocumented
def test_makeCodeImportReviewStatus(self):
Undocumented
def test_makeDistribution_returns_IDistribution(self):
Undocumented
def test_makeDistribution_returns_proxy(self):
Undocumented
def test_makeDistribution_created_name_starts_with_distribution(self):
Undocumented
def test_makeDistribution_created_display_name_starts_Distribution(self):
Undocumented
def test_makeDistroSeries_returns_IDistroSeries(self):
Undocumented
def test_makeDistroSeries_returns_proxy(self):
Undocumented
def test_makeDistroSeries_created_name_starts_with_distroseries(self):
Undocumented
def test_makeDistroSeries_created_display_name_starts_Distroseries(self):
Undocumented
def test_makeComponentSelection_makes_ComponentSelection(self):
Undocumented
def test_makeComponentSelection_uses_distroseries(self):
Undocumented
def test_makeComponentSelection_uses_component(self):
Undocumented
def test_makeComponentSelection_finds_component(self):
Undocumented
def test_makeLanguage(self):
Undocumented
def test_makeLanguage_with_code(self):
Undocumented
def test_makeLanguage_with_name(self):
Undocumented
def test_makeLanguage_with_pluralforms(self):
Undocumented
def test_makeLanguage_with_plural_expression(self):
Undocumented
def test_makeSourcePackagePublishingHistory_returns_ISPPH(self):
Undocumented
def test_makeSourcePackagePublishingHistory_returns_proxied(self):
Undocumented
def test_makeSourcePackagePublishingHistory_uses_spr(self):
Undocumented
def test_makeSourcePackagePublishingHistory_uses_status(self):
Undocumented
def test_makeSourcePackagePublishingHistory_uses_date_uploaded(self):
Undocumented
def test_makeSourcePackagePublishingHistory_uses_dateremoved(self):
Undocumented
def test_makeSourcePackagePublishingHistory_scheduleddeletiondate(self):
Undocumented
def test_makeSourcePackagePublishingHistory_datepublished_PENDING(self):
Undocumented
def test_makeSourcePackagePublishingHistory_datepublished_PUBLISHED(self):
Undocumented
def test_makeSourcePackageRelease_returns_proxied_ISPR(self):
Undocumented
def test_makeSourcePackageRelease_uses_dsc_maintainer_rfc822(self):
Undocumented
def test_makeSPPHForBPPH_returns_ISPPH(self):
Undocumented
def test_makeSPPHForBPPH_returns_SPPH_for_BPPH(self):
Undocumented
def test_makeSuiteSourcePackage_returns_ISuiteSourcePackage(self):
Undocumented
def test_makeCurrentTranslationMessage_makes_shared_message(self):
Undocumented
def test_makeCurrentTranslationMessage_makes_diverged_message(self):
Undocumented
def test_makeCurrentTranslationMessage_makes_current_upstream(self):
Undocumented
def test_makeCurrentTranslationMessage_makes_current_ubuntu(self):
Undocumented
def test_makeCurrentTranslationMessage_makes_current_tracking(self):
Undocumented
def test_makeCurrentTranslationMessage_uses_given_translation(self):
Undocumented
def test_makeCurrentTranslationMessage_sets_reviewer(self):
Undocumented
def test_makeCurrentTranslationMessage_creates_reviewer(self):
Undocumented
def test_makeDivergedTranslationMessage_upstream(self):
Undocumented
def test_makeDivergedTranslationMessage_ubuntu(self):
Undocumented
def test_makeCVE_returns_cve(self):
Undocumented
def test_makeCVE_uses_sequence(self):
Undocumented
def test_makeCVE_uses_description(self):
Undocumented
def test_makeCVE_uses_cve_status(self):
Undocumented
def test_dir(self):
Undocumented
def test_getUniqueString_with_prefix(self):
Undocumented
def test_getUniqueString_with_default_prefix(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-12-13 00:00:05.