Ñò
¾?T„  c           @   sj   d  d k  Z d  d k i i Z d d k l Z d  d k l	 Z	 d e	 f d „  ƒ  YZ
 d „  Z d „  Z d S(	   iÿÿÿÿNi   (   t   urlopen(   t
   Controllert   Rootc           B   s   e  Z d  „  Z RS(   c         O   s   d S(   Nt   ERROR(    (   t   selft   argst   kwargs(    (    sI   /home/prologic/work/circuits/tests/web/test_wsgi_gateway_null_response.pyt   index
   s    (   t   __name__t
   __module__R   (    (    (    sI   /home/prologic/work/circuits/tests/web/test_wsgi_gateway_null_response.pyR      s   c         C   s   d } | | g  ƒ d g S(   Ns   200 OKt    (    (   t   environt   start_responset   status(    (    sI   /home/prologic/work/circuits/tests/web/test_wsgi_gateway_null_response.pyt   application   s    c         C   sá   t  |  i i i ƒ } | i ƒ  } d } | | j } | p™ t i d	 | f d
 | | f ƒ h d t i ƒ  j p t i	 | ƒ o t i
 | ƒ n d d 6t i
 | ƒ d 6} d h | d 6} t t i | ƒ ƒ ‚ n d  } } d  S(   NR
   s   ==s   %(py0)s == %(py3)st   st   py0t   py3s   assert %(py5)st   py5(   s   ==(   s   %(py0)s == %(py3)s(   R    t   servert   httpt   baset   readt
   @pytest_art   _call_reprcomparet   @py_builtinst   localst   _should_repr_global_namet	   _safereprt   AssertionErrort   _format_explanationt   None(   t   webappt   fR   t   @py_assert2t   @py_assert1t   @py_format4t   @py_format6(    (    sI   /home/prologic/work/circuits/tests/web/test_wsgi_gateway_null_response.pyt   test   s       o   (   t   __builtin__R   t   _pytest.assertion.rewritet	   assertiont   rewriteR   t   helpersR    t   circuits.webR   R   R   R&   (    (    (    sI   /home/prologic/work/circuits/tests/web/test_wsgi_gateway_null_response.pyt   <module>   s     	