
'Lc           @   sW   d  d k  Z  d  d k l Z d  d k l Z l Z d Z d   Z d   Z d   Z	 d S(   iN(   t   request(   t   HOSTt   PORTsQ  This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...
This is a relatively long body, that we send to the client...c          C   sI   d t  t f }  t |   } t i | i d  t i | i   d  d  S(   Ns   http://%s:%si   t   welcome(   R   R   R    t   tt   eqt
   status_intt   body_string(   t   ut   r(    (    sH   /Users/benoitc/Work/couchdbkit_env/src/restkit/tests/008-test-request.pyt   test_001C   s    c          C   st   d t  t f }  t |  d d t } t i | i d  | i   } t i t |  t t   t i | t  d  S(   Ns   http://%s:%st   POSTt   bodyi   (	   R   R   R    t   LONG_BODY_PARTR   R   R   R   t   len(   R   R	   R   (    (    sH   /Users/benoitc/Work/couchdbkit_env/src/restkit/tests/008-test-request.pyt   test_002I   s    c          C   sb   d t  t f }  t |   } t i | i d  d t  t f }  t |   } t i | i d  d  S(   Ns   http://test:test@%s:%s/authi   s   http://test:test2@%s:%s/authi  (   R   R   R    R   R   R   (   R   R	   (    (    sH   /Users/benoitc/Work/couchdbkit_env/src/restkit/tests/008-test-request.pyt   test_003Q   s    (
   R   t   restkitR    t   _server_testR   R   R   R
   R   R   (    (    (    sH   /Users/benoitc/Work/couchdbkit_env/src/restkit/tests/008-test-request.pyt   <module>   s   8		