def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def stop(self):
        self._patcher.stop()
        self._patcher2.stop()
        self._server_mock = None