l.s.t.t.TestDistroSeriesDifferenceJobSource(TestCaseWithFactory) : class documentation

Part of lp.soyuz.tests.test_distroseriesdifferencejob View In Hierarchy

Tests for IDistroSeriesDifferenceJobSource.
Method getJobSource Undocumented
Method makeDerivedDistroSeries Undocumented
Method test_baseline Undocumented
Method test___repr__ Undocumented
Method test_make_metadata_is_consistent Undocumented
Method test_make_metadata_distinguishes_packages Undocumented
Method test_make_metadata_distinguishes_parents Undocumented
Method test_may_require_job_allows_new_jobs Undocumented
Method test_may_require_job_forbids_redundant_jobs Undocumented
Method test_may_require_job_forbids_jobs_for_intra_distro_derivation Undocumented
Method test_may_require_job_only_considers_waiting_jobs_for_redundancy Undocumented
Method test_create_job_creates_waiting_job Undocumented
Method createSPPHs Undocumented
Method test_create_multiple_jobs_structure Undocumented
Method test_create_multiple_jobs_ignore_other_series Undocumented
Method test_create_multiple_jobs_creates_waiting_jobs Undocumented
Method test_create_multiple_jobs_no_jobs Undocumented
Method find_waiting_jobs_finds_waiting_jobs Undocumented
Method find_waiting_jobs_ignores_other_derived_series Undocumented
Method find_waiting_jobs_ignores_other_parent_series Undocumented
Method test_find_waiting_jobs_ignores_other_packages Undocumented
Method test_find_waiting_jobs_considers_only_waiting_jobs Undocumented
Method assertJobsSeriesAndMetadata Undocumented
Method test_createForPackagePublication_creates_job_for_derived_series Undocumented
Method test_createForPackagePublication_creates_job_for_parent_series Undocumented
Method test_createForPackagePublication_ignores_backports_and_proposed Undocumented
Method test_createForSPPHs_creates_job_for_derived_series Undocumented
Method test_createForSPPHs_creates_job_for_parent_series Undocumented
Method test_createForSPPHs_ignores_backports_and_proposed Undocumented
Method test_createForSPPHs_creates_no_jobs_for_unrelated_series Undocumented
Method test_createForSPPHs_accepts_SPPHs_for_multiple_distroseries Undocumented
Method test_createForSPPHs_behaves_sensibly_if_job_already_exists Undocumented
Method test_createForSPPHs_creates_no_jobs_for_ppas Undocumented
Method test_getPendingJobsForDifferences_finds_job Undocumented
Method test_getPendingJobsForDifferences_ignores_other_package Undocumented
Method test_getPendingJobsForDifferences_ignores_other_derived_series Undocumented
Method test_getPendingJobsForDifferences_ignores_other_parent_series Undocumented
Method test_getPendingJobsForDifferences_ignores_non_pending_jobs Undocumented
Method test_getPendingJobsForDifferences_ignores_other_job_types Undocumented
Method test_cronscript Undocumented
Method test_job_runner_does_not_create_multiple_dsds Undocumented
Method test_packageset_filter_passes_inherited_packages Undocumented
Method test_packageset_filter_passes_packages_unique_to_derived_series Undocumented
Method test_packageset_filter_passes_all_if_parent_has_no_packagesets Undocumented
Method makeInheritedPackageSet Simulate an inherited Packageset.
Method test_packageset_filter_passes_package_in_inherited_packageset Undocumented
Method test_packageset_filter_blocks_unwanted_parent_package 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 getJobSource(self):
Undocumented
def makeDerivedDistroSeries(self):
Undocumented
def test_baseline(self):
Undocumented
def test___repr__(self):
Undocumented
def test_make_metadata_is_consistent(self):
Undocumented
def test_make_metadata_distinguishes_packages(self):
Undocumented
def test_make_metadata_distinguishes_parents(self):
Undocumented
def test_may_require_job_allows_new_jobs(self):
Undocumented
def test_may_require_job_forbids_redundant_jobs(self):
Undocumented
def test_may_require_job_forbids_jobs_for_intra_distro_derivation(self):
Undocumented
def test_may_require_job_only_considers_waiting_jobs_for_redundancy(self):
Undocumented
def test_create_job_creates_waiting_job(self):
Undocumented
def createSPPHs(self, derived_series, nb_spph=10):
Undocumented
def test_create_multiple_jobs_structure(self):
Undocumented
def test_create_multiple_jobs_ignore_other_series(self):
Undocumented
def test_create_multiple_jobs_creates_waiting_jobs(self):
Undocumented
def test_create_multiple_jobs_no_jobs(self):
Undocumented
def find_waiting_jobs_finds_waiting_jobs(self):
Undocumented
def find_waiting_jobs_ignores_other_derived_series(self):
Undocumented
def find_waiting_jobs_ignores_other_parent_series(self):
Undocumented
def test_find_waiting_jobs_ignores_other_packages(self):
Undocumented
def test_find_waiting_jobs_considers_only_waiting_jobs(self):
Undocumented
def assertJobsSeriesAndMetadata(self, job, series, metadata):
Undocumented
def test_createForPackagePublication_creates_job_for_derived_series(self):
Undocumented
def test_createForPackagePublication_creates_job_for_parent_series(self):
Undocumented
def test_createForPackagePublication_ignores_backports_and_proposed(self):
Undocumented
def test_createForSPPHs_creates_job_for_derived_series(self):
Undocumented
def test_createForSPPHs_creates_job_for_parent_series(self):
Undocumented
def test_createForSPPHs_ignores_backports_and_proposed(self):
Undocumented
def test_createForSPPHs_creates_no_jobs_for_unrelated_series(self):
Undocumented
def test_createForSPPHs_accepts_SPPHs_for_multiple_distroseries(self):
Undocumented
def test_createForSPPHs_behaves_sensibly_if_job_already_exists(self):
Undocumented
def test_createForSPPHs_creates_no_jobs_for_ppas(self):
Undocumented
def test_getPendingJobsForDifferences_finds_job(self):
Undocumented
def test_getPendingJobsForDifferences_ignores_other_package(self):
Undocumented
def test_getPendingJobsForDifferences_ignores_other_derived_series(self):
Undocumented
def test_getPendingJobsForDifferences_ignores_other_parent_series(self):
Undocumented
def test_getPendingJobsForDifferences_ignores_non_pending_jobs(self):
Undocumented
def test_getPendingJobsForDifferences_ignores_other_job_types(self):
Undocumented
def test_cronscript(self):
Undocumented
def test_job_runner_does_not_create_multiple_dsds(self):
Undocumented
def test_packageset_filter_passes_inherited_packages(self):
Undocumented
def test_packageset_filter_passes_packages_unique_to_derived_series(self):
Undocumented
def test_packageset_filter_passes_all_if_parent_has_no_packagesets(self):
Undocumented
def makeInheritedPackageSet(self, distro_series_parent, packages=()):
Simulate an inherited Packageset.

Creates a packageset in the parent that has an equivalent in derived_series.

def test_packageset_filter_passes_package_in_inherited_packageset(self):
Undocumented
def test_packageset_filter_blocks_unwanted_parent_package(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-09-24 00:00:09.