from cfme.utils.blockers import BugzillaBlockerFinder finder = BugzillaBlockerFinder() blockers = finder.find_blockers(product='RHEV', release='3.6.0') for blocker in blockers: print(blocker)
from cfme.utils.blockers import BlockerResolver resolver = BlockerResolver() blocker = resolver.resolve_bugzilla_blocker(123456) if blocker: print(blocker.summary) else: print("Unable to resolve blocker")In this example, we import the `BlockerResolver` class from the `cfme.utils.blockers` package and create an instance of it. We then call the `resolve_bugzilla_blocker()` method, passing in the ID of the blocker we want to resolve (in this case, 123456). If the method is able to find and resolve the blocker, it returns a `BugzillaBlocker` object with the details. If it is unable to resolve the blocker, it returns `None`. Overall, the `cfme.utils.blockers BZ` library is part of the `CloudForms Management Engine` package and provides a useful set of utilities for working with bugzilla blockers.