o
    i                     @   s    d dl mZ G dd deZdS )    )FlaskClientc                       s    e Zd ZdZ fddZ  ZS )FlaskLoginClientza
    A Flask test client that knows how to log in users
    using the Flask-Login extension.
    c                    st   | dd }| dd}t j|i | |r8|  }| |d< ||d< W d    d S 1 s1w   Y  d S d S )Nuserfresh_loginT_user_id_fresh)popsuper__init__session_transactionget_id)selfargskwargsr   freshsess	__class__ W/var/www/html/arapca_proje/venv/lib/python3.10/site-packages/flask_login/test_client.pyr
   
   s   

"zFlaskLoginClient.__init__)__name__
__module____qualname____doc__r
   __classcell__r   r   r   r   r      s    r   N)flask.testingr   r   r   r   r   r   <module>   s    