~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

[r=allenap][bug=807426][no-qa] Search more widely when constructing
        suites of YUI test cases.

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"]