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é   )ÚOdnoklassnikiProviderc                   @   s&   e Zd ZejZddd„Zddd„ZdS )ÚOdnoklassnikiTestsTc                 C   s
   t ddƒS )NéÈ   a…  
{"uid":"561999209121","birthday":"1999-09-09","age":33,"first_name":"Ivan",
"last_name":"Petrov","name":"Ivan Petrov","locale":"en","gender":"male",
"has_email":true,"location":{"city":"Moscow","country":"RUSSIAN_FEDERATION",
"countryCode":"RU","countryName":"Russia"},"online":"web","pic_1":
"http://i500.mycdn.me/res/stub_50x50.gif",
"pic_2":"http://usd1.mycdn.me/res/stub_128x96.gif"}
)r   )ÚselfÚverified_email© r   út/var/www/html/humari/django-venv/lib/python3.10/site-packages/allauth/socialaccount/providers/odnoklassniki/tests.pyÚget_mocked_response
   s   þz&OdnoklassnikiTests.get_mocked_responsec                 C   s   dS )Nz{"access_token": "testac"}r   )r	   Úwith_refresh_tokenr   r   r   Úget_login_response_json   s   z*OdnoklassnikiTests.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    