~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/testing/factory.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-21 14:30:41 UTC
  • mfrom: (13997.1.3 target-pickers-text-sucks)
  • Revision ID: launchpad@pqm.canonical.com-20110921143041-h0tbqg6jpqm5w1fz
[r=sinzui][bug=853968] Use the expander to reveal the project summary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2345
2345
                         aliases=None, bug_supervisor=None, driver=None,
2346
2346
                         security_contact=None, publish_root_dir=None,
2347
2347
                         publish_base_url=None, publish_copy_base_url=None,
2348
 
                         no_pubconf=False, icon=None):
 
2348
                         no_pubconf=False, icon=None, summary=None):
2349
2349
        """Make a new distribution."""
2350
2350
        if name is None:
2351
2351
            name = self.getUniqueString(prefix="distribution")
2354
2354
        if title is None:
2355
2355
            title = self.getUniqueString()
2356
2356
        description = self.getUniqueString()
2357
 
        summary = self.getUniqueString()
 
2357
        if summary is None:
 
2358
            summary = self.getUniqueString()
2358
2359
        domainname = self.getUniqueString()
2359
2360
        if registrant is None:
2360
2361
            registrant = self.makePerson()