~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/archiveuploader/tests/test_ppauploadprocessor.py

  • Committer: Karl Fogel
  • Date: 2009-07-17 18:46:25 UTC
  • mfrom: (8950 launchpad)
  • mto: This revision was merged to the branch mainline in revision 8960.
  • Revision ID: karl.fogel@canonical.com-20090717184625-owp2f6nxujb6w01z
Merge from bzr+ssh://bazaar.launchpad.net/~launchpad-pqm/launchpad/devel,
resolving four text conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
632
632
            pub_foocomm.sourcepackagerelease.component.name, 'partner')
633
633
        self.assertEqual(pub_foocomm.component.name, 'main')
634
634
 
635
 
    def testUploadSignedByNonUbuntero(self):
636
 
        """Check if a non-ubuntero can upload to his PPA."""
 
635
    def testUploadSignedByCodeOfConductNonSigner(self):
 
636
        """Check if a CoC non-signer can upload to his PPA."""
637
637
        self.name16.activesignatures[0].active = False
638
638
        self.layer.commit()
639
639
 
642
642
 
643
643
        self.assertEqual(
644
644
            self.uploadprocessor.last_processed_upload.rejection_message,
645
 
            "PPA uploads must be signed by an 'ubuntero'.")
 
645
            "PPA uploads must be signed by an Ubuntu Code of Conduct signer.")
646
646
        self.assertTrue(self.name16.archive is not None)
647
647
 
648
648
    def testUploadSignedByBetaTesterMember(self):