~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/tests/test_packageupload.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-02 15:19:38 UTC
  • mfrom: (13144.1.3 notify-announce-list)
  • Revision ID: launchpad@pqm.canonical.com-20110602151938-tawdrs82nnt4fp3q
[r=wgrant][no-qa] Drop announce_list from notify() and
        PackageUpload.acceptFromQueue(), leaving it up to notify() internals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        delayed_copy = self.createEmptyDelayedCopy()
64
64
        self.assertRaisesWithContent(
65
65
            AssertionError,
66
 
            'Cannot process delayed copies.',
67
 
            delayed_copy.acceptFromQueue, 'some-announce-list')
 
66
            'Cannot process delayed copies.', delayed_copy.acceptFromQueue)
68
67
 
69
68
    def test_acceptFromCopy_refuses_empty_copies(self):
70
69
        # Empty delayed-copies cannot be accepted.