~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-29 01:49:37 UTC
  • mfrom: (13316.3.4 syncUpdate-huh)
  • Revision ID: launchpad@pqm.canonical.com-20110629014937-h26dx50bi1s1jz6q
[r=jml][no-qa] Remove syncUpdate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
387
387
The ed source would be in NEW, so punt it into accepted.
388
388
 
389
389
    >>> ed_src.queue_root.setAccepted()
390
 
    >>> from canonical.launchpad.ftests import syncUpdate
391
 
    >>> syncUpdate(ed_src.queue_root)
392
390
 
393
391
 
394
392
Allow uploads missing debian/copyright file
434
432
Let's reject the upload to avoid confusion during the next tests:
435
433
 
436
434
    >>> nocopyright_queue.setRejected()
437
 
    >>> syncUpdate(nocopyright_queue)
438
435
 
439
436
 
440
437
Refuse to ACCEPT duplicated sources
546
543
Once we have a new queue entry we are able to accept it, step 2:
547
544
 
548
545
    >>> multibar_src_queue.setAccepted()
549
 
    >>> syncUpdate(multibar_src_queue)
550
546
    >>> multibar_src_queue.status.name
551
547
    'ACCEPTED'
552
548