Part of lp.archivepublisher.tests
|Class||TestDominator||Test Dominator class.|
|Class||TestDomination||Test overall domination procedure.|
|Class||TestDominationOfObsoletedSeries||Replay domination tests upon a OBSOLETED distroseries.|
|Function||remove_security_proxies||Return list of
|Function||make_spphs_for_versions||Create publication records for each of
|Function||make_bpphs_for_versions||Create publication records for each of
|Function||list_source_versions||Extract the versions from
|Class||TestGeneralizedPublication||Test publication generalization helpers.|
|Function||jumble||Jumble the elements of
|Class||TestDominatorMethods||No class docstring; 1/39 methods documented|
|Class||TestLivenessFunctions||Tests for the functions that say which versions are live.|
|Class||TestDominationHelpers||Test lightweight helpers for the
proxied_objects, without their proxies.
The dominator runs only in scripts, where security proxies don't get in the way. To test realistically for this environment, strip the proxies wherever necessary and do as you will.
All these publications will be in the same source package, archive, distroseries, and pocket. They will all be in Published status.
The records are created in the same order in which they are specified. Make the order irregular to prove that version ordering is not a coincidence of object creation order etc.
Versions may also be identical; each publication record will still have its own package release.
All these publications will be in the same binary package, source package, archive, distroarchseries, and pocket. They will all be in Published status.
datecreatedon each of
|Parameters||spphs||Iterable of |
|ages||Iterable of ages. Must provide the same number of items as
ordered_listinto a weird order.
Ordering is very important in domination. We jumble some of our lists to insure against "lucky coincidences" that might give our tests the right answers for the wrong reasons.
architecturespecificattribute for given SPPHs.
|Parameters||pubs||An iterable of |
|arch_specific||Whether the binary package releases published