l.c.m.t.t.TestSourcePackageRecipeBzr(TestSourcePackageRecipeMixin, BzrMixin, TestCaseWithFactory) : class documentation

Part of lp.code.model.tests.test_sourcepackagerecipe View In Hierarchy

Test SourcePackageRecipe objects for Bazaar.

Inherited from TestSourcePackageRecipeMixin:

Method makeSourcePackageRecipe Undocumented
Method test_implements_interface SourcePackageRecipe implements ISourcePackageRecipe.
Method test_avoids_problematic_snapshots Undocumented
Method makeRecipeComponents Return a dict of values that can be used to make a recipe.
Method test_creation Undocumented
Method test_creation_private_base_branch An exception should be raised if the base branch is private.
Method test_creation_private_referenced_branch An exception should be raised if a referenced branch is private.
Method test_exists Undocumented
Method test_source_implements_interface Undocumented
Method test_recipe_implements_interface Undocumented
Method test_base_branch Undocumented
Method test_branch_links_created Undocumented
Method createSourcePackageRecipe Undocumented
Method test_multiple_branch_links_created Undocumented
Method test_preLoadReferencedBranches Undocumented
Method test_random_user_cant_edit Undocumented
Method test_set_recipe_text_resets_branch_references Undocumented
Method test_rejects_run_command Undocumented
Method test_run_rejected_without_mangling_recipe Undocumented
Method test_nest_part nest-part instruction can be round-tripped.
Method test_nest_part_no_target nest-part instruction with no target-dir can be round-tripped.
Method test_accept_format_0_3 Recipe format 0.3 is accepted.
Method test_reject_newer_formats Undocumented
Method test_requestBuild Undocumented
Method test_requestBuildRejectsNotPPA Undocumented
Method test_requestBuildRejectsNoPermission Undocumented
Method test_requestBuildRejectsInvalidPocket Undocumented
Method test_requestBuildRejectsDisabledArchive Undocumented
Method test_requestBuildScore Normal build requests have a relatively low queue score (2510).
Method test_requestBuildManualScore Manual build requests have a score equivalent to binary builds.
Method test_requestBuild_relative_build_score Offsets for archives are respected.
Method test_requestBuildRejectRepeats Reject build requests that are identical to pending builds.
Method test_requestBuildPrivatePPAWithArchivePermission User is not in PPA owner team but has ArchivePermission.
Method test_sourcepackagerecipe_description Ensure that the SourcePackageRecipe has a proper description.
Method test_distroseries Test that the distroseries behaves as a set.
Method test_build_daily Test that build_daily behaves as a bool.
Method test_view_public Anyone can view a recipe with public branches.
Method test_view_private Recipes with private branches are restricted.
Method test_edit Only the owner can edit a sourcepackagerecipe.
Method test_destroySelf Should destroy associated builds, distroseries, etc.
Method test_destroySelf_preserves_release Undocumented
Method test_destroySelf_retains_build Undocumented
Method test_destroySelf_permissions Undocumented
Method test_findStaleDailyBuilds Undocumented
Method test_findStaleDailyBuildsDistinct Undocumented
Method test_getMedianBuildDuration Undocumented
Method test_getBuilds Undocumented
Method test_getPendingBuildInfo SourcePackageRecipe.getPendingBuildInfo() is as expected.
Method test_getBuilds_cancelled Undocumented
Method test_getBuilds_cancelled_never_started_last Undocumented
Method test_setRecipeText_private_base_branch Undocumented
Method test_setRecipeText_private_referenced_branch Undocumented
Method test_getBuilds_ignores_disabled_archive Undocumented
Method test_containsUnbuildableSeries Undocumented
Method test_containsUnbuildableSeries_with_obsolete_series Undocumented
Method test_performDailyBuild_filters_obsolete_series Undocumented

Inherited from BzrMixin:

Method makeBranch Undocumented
Static Method getRepository Undocumented
Static Method getBranchRecipeText Undocumented
Static Method setInformationType Undocumented
Method makeRecipeText 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.
API Documentation for Launchpad, generated by pydoctor at 2019-10-16 00:00:07.