l.b.m.t.t.BugTaskSearchBugsElsewhereTest(unittest.TestCase) : class documentation

Part of lp.bugs.model.tests.test_bugtask View In Hierarchy

Tests for searching bugs filtering on related bug tasks.

It also acts as a helper class, which makes related doctests more readable, since they can use methods from this class.

Method __init__ If helper_only is True, set up it only as a helper class.
Method setUp Undocumented
Method tearDown Undocumented
Method setUpBugsResolvedUpstreamTests Modify some bugtasks to match the resolved upstream filter.
Method tearDownBugsElsewhereTests Resets the modified bugtasks to their original statuses.
Method _getBugTaskByTarget Return a bug's bugtask for the given target.
Method _hasUpstreamTask Does this bug have an upstream task associated with it?
def __init__(self, methodName='runTest', helper_only=False):
If helper_only is True, set up it only as a helper class.
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def _getBugTaskByTarget(self, bug, target):
Return a bug's bugtask for the given target.
def setUpBugsResolvedUpstreamTests(self):
Modify some bugtasks to match the resolved upstream filter.
def tearDownBugsElsewhereTests(self):
Resets the modified bugtasks to their original statuses.
def _hasUpstreamTask(self, bug):
Does this bug have an upstream task associated with it?

Returns True if yes, otherwise False.

API Documentation for Launchpad, generated by pydoctor at 2020-09-19 00:00:06.