
    )Jf#                         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             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                     |                      |          }ddi|_        t          |          |d<   t          fd          } ||           d|j        v | u sJ d S )Naccount_loginT)statuszContent-Typec                     S )N )requestresponses    h/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/account/tests/test_middleware.py<lambda>z,test_remove_dangling_login.<locals>.<lambda>   s    8     )getsessionr   r   )rfpathstatus_codelogin_removedcontent_typer   mwr   s          @r   test_remove_dangling_loginr   	   s     ffTllG&-GO;///H+H^	3333	4	4BBwKKKw.4EFFFFFFr   )django.confr   django.httpr   pytestallauth.account.middlewarer   markparametrize
STATIC_URLr   r   r   r   <module>r%      s                $ $ $ $ $ $  8 8 8 8 8 8 1%3%&		c;64101
 G G G G Gr   