cfme.utils.bz module

class cfme.utils.bz.BugWrapper(bugzilla, bug)[source]

Bases: object

__getattr__(attr)[source]

This proxies the attribute queries to the Bug object and modifies its result.

If the field looked up is specified as loose field, it will be converted to Version. If the field is string and it has zero length, or the value is specified as “not specified”, it will return None.

bugzilla
can_test_on_upstream
copies

Returns list of copies of this bug.

copy_of

Returns either id of the bug this is copy of, or None, if it is not a copy.

is_opened
loose
product
qa_whiteboard

Returns a set of QA Whiteboard markers.

It relies on the fact, that our QA Whiteboard uses format foo:bar:baz.

Should be able to handle cases like ‘foo::bar’, or ‘abc:’.

release_flag
upstream_bug
zstream
class cfme.utils.bz.Bugzilla(**kwargs)[source]

Bases: object

bug_count
bugs
bugzilla
default_product
classmethod from_config()[source]
get_bug(id)[source]
get_bug_variants(id)[source]
loose
open_states
product(product)[source]
products(*names)[source]
resolve_blocker(blocker, version=None, ignore_bugs=None, force_block_streams=None)[source]
upstream_version
class cfme.utils.bz.Product(data)[source]

Bases: object

default_release
latest_version
milestones
name
releases
versions
cfme.utils.bz.check_fixed_in(fixed_in, version_series)[source]