def METHOD_NAME(self) -> None:
    # More output for easier debugging
    unittest.util._MAX_LENGTH = 12345
    self.maxDiff = 12345
    self.patch_gethostname = unittest.mock.patch("socket.gethostname")
    self.mock_gethostname = self.patch_gethostname.start()
    self.mock_gethostname.side_effect = lambda: _MY_HOST
    self.addCleanup(self.patch_gethostname.stop)