o
    Lf                     @   s>   d dl mZ d dlmZmZ ddlmZ G dd deeZdS )    )OAuth2TestsMixin)MockedResponseTestCase   )MailRuProviderc                   @   s&   e Zd ZejZdddZdddZdS )MailRuTestsTc                 C   s
   t ddS )N   u  
[ { "uid": "15410773191172635989", "first_name": "Евгений", "last_name": "Маслов", "nick": "maslov", "email": "emaslov@mail.ru", "sex": 0,  "birthday": "15.02.1980",  "has_pic": 1, "pic": "http://avt.appsmail.ru/mail/emaslov/_avatar",  "pic_small": "http://avt.appsmail.ru/mail/emaslov/_avatarsmall",  "pic_big": "http://avt.appsmail.ru/mail/emaslov/_avatarbig", "link": "http://my.mail.ru/mail/emaslov/", "referer_type": "", "referer_id": "", "is_online": 1, "friends_count": 145, "is_verified": 1, "vip" : 0, "app_installed": 1, "location": { "country": { "name": "Россия", "id": "24" }, "city": { "name": "Москва", "id": "25" }, "region": { "name": "Москва", "id": "999999" } } }])r   )selfverified_email r   m/var/www/html/humari/django-venv/lib/python3.10/site-packages/allauth/socialaccount/providers/mailru/tests.pyget_mocked_response
   s   zMailRuTests.get_mocked_responsec                 C   s   dS )NzZ{"access_token": "testac", "uid": "weibo", "refresh_token": "testrf", "x_mailru_vid": "1"}r   )r	   with_refresh_tokenr   r   r   get_login_response_json   s   z#MailRuTests.get_login_response_jsonN)T)__name__
__module____qualname__r   idprovider_idr   r   r   r   r   r   r      s    
r   N)allauth.socialaccount.testsr   allauth.testsr   r   providerr   r   r   r   r   r   <module>   s    