pook/mock_engine.py
def add_interceptor(self, *interceptors):
        """
        Adds one or multiple HTTP traffic interceptors to the current
        mocking engine.

        Interceptors are typically HTTP client specific wrapper classes that
        implements the pook interceptor interface.

        Arguments:
            interceptors (pook.interceptors.BaseInterceptor)
        """
        for interceptor in interceptors:
            self.interceptors.append(interceptor(self.engine))
def add_interceptor(self, *interceptors):
        for interceptor in interceptors:
            self.interceptors.append(interceptor(self.engine))
def add_interceptor ( self , * interceptors ) : for interceptor in interceptors : self . interceptors . append ( interceptor ( self . engine ) )
Adds one or multiple HTTP traffic interceptors to the current
        mocking engine.

        Interceptors are typically HTTP client specific wrapper classes that
        implements the pook interceptor interface.

        Arguments:
            interceptors (pook.interceptors.BaseInterceptor)
Adds one or multiple HTTP traffic interceptors to the current mocking engine .