def on_init(self) -> None:
        """This method can be patched by unit tests to get the instance of the
        transport handler when it is initialized.
        """
This method can be patched by unit tests to get the instance of the
        transport handler when it is initialized.
        
tests/http/clients/base.py