Part of lp.bugs.model.tests.test_bugtask View In Hierarchy
BugTaskSet.findExpirableBugTasks()
behaviour.Method | setUp | Setup the zope interaction and create expirable bugtasks. |
Method | tearDown | Undocumented |
Method | testSupportedTargetParam | The target param supports a limited set of BugTargets. |
Method | testUnsupportedBugTargetParam | Test that unsupported targets raise errors. |
Four BugTarget types may passed as the target argument: Distribution, DistroSeries, Product, ProductSeries.
Three BugTarget types are not supported because the UI does not provide bug-index to link to the 'bugs that can expire' page. ProjectGroup, SourcePackage, and DistributionSourcePackage will raise an NotImplementedError.
Passing an unknown bugtarget type will raise an AssertionError.