~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/tests/test_bugtask_1.py

  • Committer: Henning Eggers
  • Date: 2010-02-17 11:13:06 UTC
  • mto: This revision was merged to the branch mainline in revision 10333.
  • Revision ID: henning@canonical.com-20100217111306-j19wku4p87ytjmlo
Mechanically renamed IProject* to IProjectGroup*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from lp.bugs.interfaces.bugwatch import IBugWatchSet
20
20
from lp.registry.interfaces.distribution import IDistributionSet
21
21
from lp.registry.interfaces.product import IProductSet
22
 
from lp.registry.interfaces.project import IProjectSet
 
22
from lp.registry.interfaces.project import IProjectGroupSet
23
23
from lp.testing.factory import LaunchpadObjectFactory
24
24
from canonical.testing import DatabaseFunctionalLayer
25
25
 
279
279
 
280
280
        Passing an unknown bugtarget type will raise an AssertionError.
281
281
        """
282
 
        project = getUtility(IProjectSet).getByName('mozilla')
 
282
        project = getUtility(IProjectGroupSet).getByName('mozilla')
283
283
        distributionsourcepackage = self.distribution.getSourcePackage(
284
284
            'mozilla-firefox')
285
285
        sourcepackage = self.distroseries.getSourcePackage(