def test_service_unavailable(self):
        def raises():
             raise libcloud.compute.types.MalformedResponseError(
                 "Failed to parse XML", body='Service Unavailable', driver=self.driver)
        assert config.handle_errors(raises, out=self.devnull) == config.SERVICE_UNAVAILABLE
dataset/ETHPy150Open quaddra/provision/test/test_handle_errors.py/TestHandleErrors.test_service_unavailable/original