o
    ÑtPf'  ã                   @   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ÚassertEqualÚassertInÚlower)ÚselfÚstatusÚdata© r   úd/var/www/html/humari/django-venv/lib/python3.10/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__Úexampler   r   r   r   r   r   r   	   s    r   Ú__main__)Úunittestr   Úgevent.testingÚtestingÚ	greentestÚ r   ÚskipOnCIÚskipWithoutExternalNetworkÚTest_wsgiserverr   r   Úmainr   r   r   r   Ú<module>   s    ÿ