�
}�;e. � � � d Z eZdgZ ddlmZ ddlm Z m
Z
G d� de � Z G d� de � Z G d � de
� Z
y
# e$ r ddlmZ Y �7w xY w)z5Test client for the lazr.restful example web service.�CookbookWebServiceClient� )�quote)�CollectionWithKeyBasedLookup�ServiceRootc � � e Zd ZdZd� ZdZy)�CookbookSetz>A custom subclass capable of cookbook lookup by cookbook name.c � � t | j j j � � dz t t |� � z S )z>Transform a cookbook name into the URL to a cookbook resource.z
cookbooks/)�str�_root� _root_uri�ensureSlashr ��self�ids �B/usr/lib/python3/dist-packages/lazr/restfulclient/tests/example.py�_get_url_from_idzCookbookSet._get_url_from_id' |