cfme.fixtures.blockers module

Collection of fixtures for simplified work with blockers.

You can use the blocker() fixture to retrieve any blocker using blocker syntax (as described in cfme.metaplugins.blockers). The bug() fixture is specific for bugzilla, it accepts number argument and spits out the BUGZILLA BUG! (a utils.bz.BugWrapper, not a utils.blockers.BZ!). The blockers() retrieves list of all blockers as specified in the meta marker. All of them are converted to the utils.blockers.Blocker instances

cfme.fixtures.blockers.blocker(uses_blockers)[source]

Return any blocker that matches the expression.

Returns:Instance of utils.blockers.Blocker
cfme.fixtures.blockers.blockers(uses_blockers, meta)[source]

Returns list of all assigned blockers.

Returns:List of utils.blockers.Blocker instances.
cfme.fixtures.blockers.bug(blocker)[source]

Return bugzilla bug by its id.

Returns:Instance of utils.bz.BugWrapper or NoneType if the bug is closed.
cfme.fixtures.blockers.pytest_addoption(parser)[source]
cfme.fixtures.blockers.pytest_collection_modifyitems(session, config, items)[source]