o
    Lf#                     @   sb   d dl mZ d dlmZ d dlZd dlmZ ejddddd	ej	d
ddfddddg	dd Z
dS )    )settings)HttpResponseN)AccountMiddlewarez+path,status_code,content_type,login_removed)/   	text/htmlT)r   r   ztext/html; charset=utf8T)r   r   ztext/txtF)r   i  r   Fr   r   F)z/favicon.icor   zimage/x-iconF)/robots.txtr   
text/plainF)r   r   r   F)z/humans.txtr   r	   Fc                    sV   |  |}ddi|_t|d | d< t fdd}|| d|jv | u s)J d S )Naccount_loginT)statuszContent-Typec                    s    S )N )requestresponser   f/var/www/html/humari/django-venv/lib/python3.10/site-packages/allauth/account/tests/test_middleware.py<lambda>   s    z,test_remove_dangling_login.<locals>.<lambda>)getsessionr   r   )rfpathstatus_codelogin_removedcontent_typer   mwr   r   r   test_remove_dangling_login	   s   


r   )django.confr   django.httpr   pytestallauth.account.middlewarer   markparametrize
STATIC_URLr   r   r   r   r   <module>   s$    