def make_url_for_lib(key):
 if isinstance(key, LibraryLocator):
  key = unicode(key)
 return (LIBRARY_REST_URL + key)

def make_url_for_lib ( key ) : if isinstance ( key , LibraryLocator ) : key = unicode ( key ) return ( LIBRARY_REST_URL + key )
get the restful/studio url for testing the given library .