cfme.utils.blockers module¶
-
class
cfme.utils.blockers.
BZ
(bug_id, **kwargs)[source]¶ Bases:
cfme.utils.blockers.Blocker
-
blocks
¶
-
bugzilla
¶ classmethod(function) -> method
Convert a function to be a class method.
A class method receives the class as implicit first argument, just like an instance method receives the instance. To declare a class method, use this idiom:
- class C:
- def f(cls, arg1, arg2, …): … f = classmethod(f)
It can be called either on the class (e.g. C.f()) or on an instance (e.g. C().f()). The instance is ignored except for its class. If a class method is called for a derived class, the derived class object is passed as the implied first argument.
Class methods are different than C++ or Java static methods. If you want those, see the staticmethod builtin.
-
bugzilla_bug
¶
-
data
¶
-
url
¶
-
-
class
cfme.utils.blockers.
Blocker
(**kwargs)[source]¶ Bases:
object
Base class for all blockers
REQUIRED THING! Any subclass’ constructors must accept kwargs and after POPping the values required for the blocker’s operation, call to ``super` with
**kwargs
must be done! Failing to do this will render some of the functionality disabled ;).-
classmethod
all_blocker_engines
()[source]¶ Return mapping of name:class of all the blocker engines in this module.
Having this as a separate function will later enable to scatter the engines across modules in case of extraction into a separate library.
-
blocks
= False¶
-
kwargs
= {}¶
-
url
¶
-
classmethod