~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugactivity.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-29 18:11:29 UTC
  • mfrom: (13543.7.1 bug-818032)
  • Revision ID: launchpad@pqm.canonical.com-20110729181129-zvc1nlx8jprha429
[r=bac][bug=818032] Disable Upgrade Packages button.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    >>> mozilla_firefox = getUtility(ISourcePackageNameSet)['mozilla-firefox']
81
81
    >>> ubuntu = getUtility(IDistributionSet).getByName('ubuntu')
82
82
    >>> source_package_assignment = getUtility(IBugTaskSet).createTask(
83
 
    ...     bug, user, ubuntu.getSourcePackage(mozilla_firefox))
 
83
    ...     bug=bug, sourcepackagename=mozilla_firefox,
 
84
    ...     distribution=ubuntu,owner=user)
84
85
    >>> edit_fields = [
85
86
    ...     "distribution", "sourcepackagename", "milestone", "status",
86
87
    ...     "importance", "assignee", "bugwatch"]
128
129
==================================
129
130
 
130
131
    >>> product_assignment = getUtility(IBugTaskSet).createTask(
131
 
    ...   bug, user, getUtility(IProductSet)['thunderbird'])
 
132
    ...   bug=bug, product=getUtility(IProductSet)['thunderbird'], owner=user)
132
133
    >>> edit_fields = [
133
134
    ...     "product", "milestone", "status", "assignee", "bugwatch",
134
135
    ...     "importance"]