o
    ‡e'  ã                   @   sb   d dl mZ d dlmZ ddlmZ e d¡e d¡G dd„ dej	ƒƒƒZ
ed	kr/e ¡  dS dS )
é    ©ÚSkipTestNé   )Útest__example_wsgiserverz4Timing issues sometimes lead to a connection refusedzTries to reach google.comc                   @   s    e Zd ZdZdd„ Zdd„ ZdS )ÚTest_webproxyzwebproxy.pyc                 C   sT   |   d¡\}}|  |d¡ |  d|¡ |   d¡\}}|  |d¡ |  d| ¡ ¡ d S )Nú/z200 OKs   gevent examplez/http://www.google.coms   google)ÚreadÚassertEqualZassertInÚlower)ÚselfÚstatusÚdata© r   úSD:\Projects\ConvertPro\env\Lib\site-packages\gevent/tests/test__example_webproxy.pyÚ_run_all_tests   s   zTest_webproxy._run_all_testsc                 C   s   t dƒ‚)NzNot applicabler   )r   r   r   r   Útest_a_blocking_client   s   z$Test_webproxy.test_a_blocking_clientN)Ú__name__Ú
__module__Ú__qualname__Zexampler   r   r   r   r   r   r   	   s    r   Ú__main__)Zunittestr   Zgevent.testingÚtestingZ	greentestÚ r   ZskipOnCIZskipWithoutExternalNetworkZTest_wsgiserverr   r   Úmainr   r   r   r   Ú<module>   s    ÿ