Part of lp.soyuz.tests.test_publishing View In Hierarchy
Known subclasses: lp.soyuz.tests.test_publishing.TestNativePublishingBase
Method | __init__ | Undocumented |
Method | setUpDefaultDistroSeries | Set up a distroseries that will be used by default. |
Method | prepareBreezyAutotest | Prepare ubuntutest/breezy-autotest for publications. |
Method | addFakeChroots | Add fake chroots for all the architectures in distroseries. |
Method | regetBreezyAutotest | Undocumented |
Method | addMockFile | Add a mock file in Librarian. |
Method | addPackageUpload | Undocumented |
Method | getPubSource | Return a mock source publishing record. |
Method | getPubBinaries | Return a list of binary publishing records. |
Method | uploadBinaryForBuild | Return the corresponding BinaryPackageRelease . |
Method | publishBinaryInArchive | Return the corresponding BinaryPackagePublishingHistory. |
Method | createSource | Create source with meaningful '.changes' file. |
Method | makeSourcePackageSummaryData | Make test data for SourcePackage.summary. |
Method | updatePackageCache | Undocumented |
Method | _findChangesFile | File with given name fragment in directory tree starting at top. |
This distro series is used to publish packages in, if you don't specify any when using the publishing methods.
It also sets up a person that can act as the default uploader, and makes sure that the default package name exists in the database.
Parameters | distroseries | The IDistroSeries to use as default. If
it's None, one will be created. |
Returns | The IDistroSeries that got set as default. |
It's also called during the normal test-case setUp.
Returns a ILibraryFileAlias corresponding to the file uploaded.
if spr_only is specified, the source is not published and the sourcepackagerelease object is returned instead.
BinaryPackageRelease
.