~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/tests/nascentupload-announcements.txt

Add DistroSeriesInitializeView.rebuilding_allowed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    >>> import transaction
129
129
    >>> transaction.commit()
130
130
 
 
131
Ensure the previous transaction is *really* in the database before the next
 
132
test:
 
133
 
 
134
    >>> from canonical.launchpad.ftests import syncUpdate
 
135
    >>> syncUpdate(bar_src.queue_root)
131
136
 
132
137
Uploading the same package again will result in a rejection email:
133
138
 
638
643
dry_run, which when True will not send any emails.  It will also log at
639
644
the INFO level what it /would/ have sent.
640
645
 
641
 
    >>> random_package_upload = hoary.getPackageUploads()[0]
 
646
    >>> random_package_upload = hoary.getQueueItems()[0]
642
647
    >>> random_package_upload.notify(dry_run=True, logger=FakeLogger())
643
648
    DEBUG Building recipients list.
644
649
    ...