Ejemplo n.º 1
0
def adjust_error_for_server_version(expected_err):
  "Return the expected error regexp appropriate for the server version."
  if server_has_mergeinfo():
    return expected_err
  else:
    return ".*Retrieval of mergeinfo unsupported by '.+'"
Ejemplo n.º 2
0
def adjust_error_for_server_version(expected_err):
    "Return the expected error regexp appropriate for the server version."
    if server_has_mergeinfo():
        return expected_err
    else:
        return ".*Retrieval of mergeinfo unsupported by '.+'"