l.r.t.t.DistroSeriesDifferenceTestCase(TestCaseWithFactory) : class documentation

Part of lp.registry.tests.test_distroseriesdifference View In Hierarchy

Undocumented
Method test_implements_interface Undocumented
Method test_source_implements_interface Undocumented
Method test_new_non_derived_series Undocumented
Method test_source_pub Undocumented
Method test_source_pub_gets_latest_pending Undocumented
Method test_source_pub_returns_none Undocumented
Method test_parent_source_pub Undocumented
Method test_parent_source_pub_gets_latest_pending Undocumented
Method test_source_version Undocumented
Method test_source_version_none Undocumented
Method test_update_resolves_difference Undocumented
Method test_update_nulls_diffs_for_resolved Undocumented
Method test_parent_update_re_opens_difference Undocumented
Method test_child_update_re_opens_difference Undocumented
Method test_update_new_parent_version_doesnt_change_status Undocumented
Method test_update_changes_type Undocumented
Method test_update_removes_version_blacklist Undocumented
Method test_update_does_not_remove_permanent_blacklist Undocumented
Method test_title Undocumented
Method test_addComment Undocumented
Method test_getComments Undocumented
Method test_latest_comment Undocumented
Method test_addComment_for_owners Undocumented
Method test_parent_packagesets Undocumented
Method test_packagesets Undocumented
Method test_blacklist_unauthorised Undocumented
Method test_blacklist_default Undocumented
Method test_blacklist_all Undocumented
Method test_unblacklist Undocumented
Method test_unblacklist_resolved Undocumented
Method test_get_comment_with_status_change Undocumented
Method assertDSDComment Undocumented
Method test_unblacklist_creates_comment Undocumented
Method test_blacklist_creates_comment Undocumented
Method test_source_package_name_unique_for_derived_series Undocumented
Method test_cached_properties Undocumented
Method test_base_version_none Undocumented
Method test_base_version_multiple Undocumented
Method test_base_version_invalid Undocumented
Method test_base_source_pub_none Undocumented
Method test_base_source_pub Undocumented
Method test_base_source_pub_not_published Undocumented
Method test_base_source_pub_only_in_child Undocumented
Method test_requestPackageDiffs Undocumented
Method test_requestPackageDiffs_child_is_base Undocumented
Method test_requestPackageDiffs_parent_is_base Undocumented
Method test_requestPackageDiffs_with_resolved_DSD Undocumented
Method test_package_diff_urls_none Undocumented
Method test_source_package_release_pending Undocumented
Method createPublication Undocumented
Method test_existing_packagediff_is_linked_when_dsd_created Undocumented
Method test_multiple_pending_publications_derived Undocumented
Method test_multiple_pending_publications_parent Undocumented
Method test_source_package_release_superseded Undocumented
Method test_package_diff_urls Undocumented
Method _setupPackageSets Undocumented
Method _setupDSDsWithChangelog Undocumented
Method _initDiffWithMultiplePendingPublications 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_implements_interface(self):
Undocumented
def test_source_implements_interface(self):
Undocumented
def test_new_non_derived_series(self):
Undocumented
def test_source_pub(self):
Undocumented
def test_source_pub_gets_latest_pending(self):
Undocumented
def test_source_pub_returns_none(self):
Undocumented
def test_parent_source_pub(self):
Undocumented
def test_parent_source_pub_gets_latest_pending(self):
Undocumented
def test_source_version(self):
Undocumented
def test_source_version_none(self):
Undocumented
def test_update_resolves_difference(self):
Undocumented
def test_update_nulls_diffs_for_resolved(self):
Undocumented
def test_parent_update_re_opens_difference(self):
Undocumented
def test_child_update_re_opens_difference(self):
Undocumented
def test_update_new_parent_version_doesnt_change_status(self):
Undocumented
def test_update_changes_type(self):
Undocumented
def test_update_removes_version_blacklist(self):
Undocumented
def test_update_does_not_remove_permanent_blacklist(self):
Undocumented
def test_title(self):
Undocumented
def test_addComment(self):
Undocumented
def test_getComments(self):
Undocumented
def test_latest_comment(self):
Undocumented
def test_addComment_for_owners(self):
Undocumented
def _setupPackageSets(self, ds_diff, distroseries, nb_packagesets):
Undocumented
def test_parent_packagesets(self):
Undocumented
def test_packagesets(self):
Undocumented
def test_blacklist_unauthorised(self):
Undocumented
def test_blacklist_default(self):
Undocumented
def test_blacklist_all(self):
Undocumented
def test_unblacklist(self):
Undocumented
def test_unblacklist_resolved(self):
Undocumented
def test_get_comment_with_status_change(self):
Undocumented
def assertDSDComment(self, ds_diff, dsd_comment, comment_string):
Undocumented
def test_unblacklist_creates_comment(self):
Undocumented
def test_blacklist_creates_comment(self):
Undocumented
def test_source_package_name_unique_for_derived_series(self):
Undocumented
def test_cached_properties(self):
Undocumented
def test_base_version_none(self):
Undocumented
def test_base_version_multiple(self):
Undocumented
def test_base_version_invalid(self):
Undocumented
def test_base_source_pub_none(self):
Undocumented
def test_base_source_pub(self):
Undocumented
def test_base_source_pub_not_published(self):
Undocumented
def test_base_source_pub_only_in_child(self):
Undocumented
def _setupDSDsWithChangelog(self, derived_versions, parent_versions, status=None):
Undocumented
def test_requestPackageDiffs(self):
Undocumented
def test_requestPackageDiffs_child_is_base(self):
Undocumented
def test_requestPackageDiffs_parent_is_base(self):
Undocumented
def test_requestPackageDiffs_with_resolved_DSD(self):
Undocumented
def test_package_diff_urls_none(self):
Undocumented
def test_source_package_release_pending(self):
Undocumented
def createPublication(self, spn, versions, distroseries, status=PackagePublishingStatus.PUBLISHED):
Undocumented
def test_existing_packagediff_is_linked_when_dsd_created(self):
Undocumented
def _initDiffWithMultiplePendingPublications(self, versions, parent):
Undocumented
def test_multiple_pending_publications_derived(self):
Undocumented
def test_multiple_pending_publications_parent(self):
Undocumented
def test_source_package_release_superseded(self):
Undocumented
def test_package_diff_urls(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-07-18 00:00:05.