o
    oi'                     @   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   b/var/www/html/pca-backend/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    