def get_capabilities(conn):
    """
    Returns a string which is the XML of the hypervisor'nova_tests capabilities

    :param conn: libvirt Connection object
    :return: (str) of capabilities in XML format
    """
    return conn.getCapabilities()