~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Benji York
  • Date: 2011-08-01 12:51:12 UTC
  • mfrom: (13572 devel)
  • mto: This revision was merged to the branch mainline in revision 13573.
  • Revision ID: benji.york@canonical.com-20110801125112-a4euql70924suzb6
mergeĀ fromĀ devel

Show diffs side-by-side

added added

removed removed

Lines of Context:
2068
2068
            owner = target.owner
2069
2069
        if description is None:
2070
2070
            description = self.getUniqueString('description')
2071
 
        with person_logged_in(target.owner):
 
2071
        with person_logged_in(owner):
2072
2072
            question = target.newQuestion(
2073
2073
                owner=owner, title=title, description=description)
2074
2074
        return question