82
82
If we mark the bug as critical, the open_critical count will increase.
84
84
>>> login('foo.bar@canonical.com')
86
85
>>> from lp.bugs.interfaces.bugtask import BugTaskImportance
87
86
>>> [ubuntu_firefox_bugtask] = bug.bugtasks
88
87
>>> ubuntu_firefox_bugtask.transitionToImportance(
89
88
... BugTaskImportance.CRITICAL, getUtility(ILaunchBag).user)
92
90
>>> package_counts = getUtility(IBugTaskSet).getBugCountsForPackages(
93
91
... user=None, packages=packages)