
    fi                     J    d dl mZ d dlmZ d dlmZ d dlmZ  G d de      Zy)    )get_user_model)override_settings)SocialAccount)TestCasec                   6    e Zd Zd Zd Z ee      d        Zy)	UtilTestsc                 x    t               } |d      }t        |      }| j                  dt        |             y )Ntestusernameuserr   r   assertEqualstrselfUserr   sas       a/var/www/cs2snipe.com/venv/lib/python3.12/site-packages/allauth/socialaccount/tests/test_utils.pytest_social_account_str_defaultz)UtilTests.test_social_account_str_default	   s2    V$%R)    c                 8    dj                  | j                        S )NzA custom str builder for {})formatr   )socialaccounts    r   "socialaccount_str_custom_formatterz,UtilTests.socialaccount_str_custom_formatter   s    ,33M4F4FGGr   )SOCIALACCOUNT_SOCIALACCOUNT_STRc                 x    t               } |d      }t        |      }| j                  dt        |             y )Nr
   r   r   zA custom str builder for testr   r   s       r   "test_social_account_str_customizedz,UtilTests.test_social_account_str_customized   s5     V$%8#b'Br   N)__name__
__module____qualname__r   r   r   r    r   r   r   r      s+    *H (JCCr   r   N)	django.contrib.authr   django.test.utilsr   allauth.socialaccount.modelsr   allauth.testsr   r   r#   r   r   <module>r(      s    . / 6 "C Cr   