
    )Jf                     L    d dl mZ d dlmZmZ ddlmZ  G d dee          ZdS )    )OAuth2TestsMixin)MockedResponseTestCase   )MailRuProviderc                   ,    e Zd Zej        ZddZddZdS )MailRuTestsTc                 "    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_emails     o/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/socialaccount/providers/mailru/tests.pyget_mocked_responsezMailRuTests.get_mocked_response
   s    N
 
 	
    c                     dS )NzZ{"access_token": "testac", "uid": "weibo", "refresh_token": "testrf", "x_mailru_vid": "1"} )r   with_refresh_tokens     r   get_login_response_jsonz#MailRuTests.get_login_response_json   s     lkr   N)T)__name__
__module____qualname__r   idprovider_idr   r   r   r   r   r	   r	      sJ         #K
 
 
 
l l l l l lr   r	   N)allauth.socialaccount.testsr   allauth.testsr   r   providerr   r	   r   r   r   <module>r      s    8 8 8 8 8 8 2 2 2 2 2 2 2 2 $ $ $ $ $ $l l l l l"H l l l l lr   