~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Steve Kowalik
  • Date: 2012-01-05 08:48:13 UTC
  • mto: This revision was merged to the branch mainline in revision 14637.
  • Revision ID: steve.kowalik@canonical.com-20120105084813-744qad12mbvuw3nw
Lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
__metaclass__ = type
5
5
 
6
 
from zope.security.proxy import removeSecurityProxy
7
 
 
8
6
from lp.archiveuploader.dscfile import SignableTagFile
9
7
from lp.archiveuploader.nascentuploadfile import UploadError
10
8
from lp.registry.interfaces.person import PersonVisibility
22
20
    def test_private_team_maintainer(self):
23
21
        # Maintainers can not be private teams.
24
22
        with celebrity_logged_in('admin'):
25
 
            team = self.factory.makeTeam(
 
23
            self.factory.makeTeam(
26
24
                email="foo@bar.com", visibility=PersonVisibility.PRIVATE)
27
25
        sigfile = SignableTagFile()
28
26
        self.assertRaisesWithContent(