(self, master, testing=False)
testing: Disables actual replay for testing.
testing: Disables actual replay for testing.
testing : Disables actual replay for testing .
def tick(self, master, testing=False):
        """
            testing: Disables actual replay for testing.
        """
        if self.flows and not self.current:
            n = self.flows.pop(0)
            n.request.reply = controller.DummyReply()
            n.request.client_conn = None
            self.current = master.handle_request(n.request)
            if not testing and not self.current.response:
                master.replay_request(self.current) # pragma: no cover
            elif self.current.response:
                master.handle_response(self.current.response)
def tick ( self , master , testing = False ) : if self . flows and not self . current : n = self . flows . pop ( 0 ) n . request . reply = controller . DummyReply ( ) n . request . client_conn = None self . current = master . handle_request ( n . request ) if not testing and not self . current . response : master . replay_request ( self . current ) # pragma: no cover elif self . current . response : master . handle_response ( self . current . response )