o
    “h  ã                   @   sF   d dl mZ d dlmZ d dlmZ ddlmZ G dd„ deeƒZdS )	é    )ÚTestCase)ÚOAuth2TestsMixin©ÚMockedResponseé   )Ú
VKProviderc                   @   s.   e Zd ZejZd	dd„Zdd„ Zd	dd„ZdS )
ÚVKTestsTc                 C   s
   t ddƒS )NéÈ   aÕ  
{"response": [{"last_name": "Penners", "university_name": "",
"photo": "http://vk.com/images/camera_c.gif", "sex": 2,
"photo_medium": "http://vk.com/images/camera_b.gif", "relation": "0",
"timezone": 1, "photo_big": "http://vk.com/images/camera_a.gif",
"id": 219004864, "universities": [], "city": "1430", "first_name": "Raymond",
"faculty_name": "", "online": 1, "counters": {"videos": 0, "online_friends": 0,
"notes": 0, "audios": 0, "photos": 0, "followers": 0, "groups": 0,
"user_videos": 0, "albums": 0, "friends": 0}, "home_phone": "", "faculty": 0,
"nickname": "", "screen_name": "id219004864", "has_mobile": 1,
"country": "139", "university": 0, "graduation": 0, "activity": "",
"last_seen": {"time": 1377805189}}]}
r   )ÚselfÚverified_email© r   úc/var/www/html/env_mimamsha/lib/python3.10/site-packages/allauth/socialaccount/providers/vk/tests.pyÚget_mocked_response   s   þzVKTests.get_mocked_responsec                 C   ó   dS )NzRaymond Pennersr   )r
   r   r   r   Úget_expected_to_str   ó   zVKTests.get_expected_to_strc                 C   r   )Nz/{"user_id": 219004864, "access_token":"testac"}r   )r
   Úwith_refresh_tokenr   r   r   Úget_login_response_json!   r   zVKTests.get_login_response_jsonN)T)	Ú__name__Ú
__module__Ú__qualname__r   ÚidÚprovider_idr   r   r   r   r   r   r   r   	   s
    
r   N)	Údjango.testr   Úallauth.socialaccount.testsr   Úallauth.testsr   Úproviderr   r   r   r   r   r   Ú<module>   s
    