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

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

No class docstring
Method setUp Undocumented
Method test_realiseUpload_for_overridden_component_archive Undocumented
Method test_package_name_and_version Undocumented
Method test_publish_sets_packageupload Undocumented
Method test_publish_custom_marks_suite_dirty Undocumented
Method test_overrideSource_ignores_None_component_change Undocumented
Method makeSourcePackageUpload Make a useful source package upload for queue tests.
Method makeBuildPackageUpload Make a useful build package upload for queue tests.
Method runPackageUploadNotificationJob Expect one package upload notification job, and run it.
Method assertEmails Pop emails from the stub queue and check their recipients.
Method test_acceptFromQueue_source_sends_email Undocumented
Method test_acceptFromQueue_source_backports_sends_no_announcement Undocumented
Method test_acceptFromQueue_source_translations_sends_no_email Undocumented
Method test_acceptFromQueue_source_creates_builds Undocumented
Method test_acceptFromQueue_source_closes_bug Undocumented
Method test_acceptFromQueue_binary_sends_no_email Undocumented
Method test_acceptFromQueue_handles_duplicates Undocumented
Method test_rejectFromQueue_source_sends_email Undocumented
Method test_rejectFromQueue_binary_sends_email Undocumented
Method test_rejectFromQueue_source_translations_sends_no_email Undocumented
Method test_rejectFromQueue_source_with_reason Undocumented
Method test_getFileByName_source Undocumented
Method test_getFileByName_binary Undocumented

Inherited from TestCaseWithFactory:

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 setUp(self):
Undocumented
def test_realiseUpload_for_overridden_component_archive(self):
Undocumented
def test_package_name_and_version(self):
Undocumented
def test_publish_sets_packageupload(self):
Undocumented
def test_publish_custom_marks_suite_dirty(self):
Undocumented
def test_overrideSource_ignores_None_component_change(self):
Undocumented
def makeSourcePackageUpload(self, pocket=None, sourcepackagename=None, section_name=None, changes_dict=None):
Make a useful source package upload for queue tests.
def makeBuildPackageUpload(self):
Make a useful build package upload for queue tests.
def runPackageUploadNotificationJob(self):
Expect one package upload notification job, and run it.
def assertEmails(self, expected_to_addrs):
Pop emails from the stub queue and check their recipients.
def test_acceptFromQueue_source_sends_email(self):
Undocumented
def test_acceptFromQueue_source_backports_sends_no_announcement(self):
Undocumented
def test_acceptFromQueue_source_translations_sends_no_email(self):
Undocumented
def test_acceptFromQueue_source_creates_builds(self):
Undocumented
def test_acceptFromQueue_source_closes_bug(self):
Undocumented
def test_acceptFromQueue_binary_sends_no_email(self):
Undocumented
def test_acceptFromQueue_handles_duplicates(self):
Undocumented
def test_rejectFromQueue_source_sends_email(self):
Undocumented
def test_rejectFromQueue_binary_sends_email(self):
Undocumented
def test_rejectFromQueue_source_translations_sends_no_email(self):
Undocumented
def test_rejectFromQueue_source_with_reason(self):
Undocumented
def test_getFileByName_source(self):
Undocumented
def test_getFileByName_binary(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-07-23 00:00:05.