
    )Jf                         d dl mZ d dlZd dlmZ ej                            ddddgfddddgfdddgfg          d	             ZdS )
    )reverseN)get_adapterz0with_totp,with_password,expected_method_urlnamesFTaccount_reauthenticatemfa_reauthenticatec                 4    | ||rd nd          }|                                 |k    sJ |                    |           t                                          |          }t	          |          t	          |          k    sJ t          d |D                       t          t          t          |                    k    sJ dD ]R}|                    t          |          dz             }||v r|j	        dk    sJ 9|j	        dk    sJ d|d	         v sJ Sd S )
N!)	with_totppasswordc                     g | ]
}|d          S )url ).0ms     n/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/account/tests/test_reauthentication.py
<listcomp>z+test_user_with_mfa_only.<locals>.<listcomp>   s    ***Q%***    )r   r   z
?next=/foo   i.  znext=%2Ffoolocation)
has_usable_passwordforce_loginr   get_reauthentication_methodslensetmapr   getstatus_code)	user_factoryr	   with_passwordexpected_method_urlnamesclientusermethodsurlnameresps	            r   test_user_with_mfa_onlyr%      s\    <)m6TddQTUUUD##%%6666
tmm88>>Gw<<37888888**'***++sG-..0 0     D 5 5zz''**\9::...#s*****#s**** D$4444445 5r   )django.urlsr   pytestallauth.account.adapterr   markparametrizer%   r   r   r   <module>r+      s           / / / / / / 6	/01	t.0DEF	u+,- 5 5 5 5 5r   