Esempio n. 1
0
    def __init__(self, verbose=False, logger=None):
        self.inner = StreamHandler(sys.stdout, MachFormatter())
        BaseHandler.__init__(self, self.inner)
        self.product = None
        self.verbose = verbose
        self.logger = logger

        self.register_message_handlers("wptrunner-test", {"set-product": self.set_product})
Esempio n. 2
0
    def __init__(self, verbose=False, logger=None):
        self.inner = StreamHandler(sys.stdout, MachFormatter())
        BaseHandler.__init__(self, self.inner)
        self.product = None
        self.verbose = verbose
        self.logger = logger

        self.register_message_handlers("wptrunner-test", {"set-product": self.set_product})
Esempio n. 3
0
 def __init__(self, inner, actions):
     BaseHandler.__init__(self, inner)
     self.inner = inner
     self.actions = actions
Esempio n. 4
0
 def __init__(self, inner, actions):
     """Extend BaseHandler and set inner and actions props on self."""
     BaseHandler.__init__(self, inner)
     self.inner = inner
     self.actions = actions
Esempio n. 5
0
 def __init__(self, inner, actions):
     """Extend BaseHandler and set inner and actions props on self."""
     BaseHandler.__init__(self, inner)
     self.inner = inner
     self.actions = actions
Esempio n. 6
0
 def __init__(self, inner, actions):
     BaseHandler.__init__(self, inner)
     self.inner = inner
     self.actions = actions