Ë
    ûûàgò  ã                   óX   — d dl mZ d dlmZ d dlmZ d dlmZ ddlm	Z	  G d„ dee«      Z
y	)
é    )ÚTestCase)ÚSocialAccount)ÚOAuthTestsMixin©ÚMockedResponseé   )ÚTwitterProviderc                   óB   ‡ — e Zd Zej                  Zd„ Zd„ Zˆ fd„Zˆ xZ	S )ÚTwitterTestsc                 ó   — t        dd«      gS )NéÈ   a•  
{"follow_request_sent": false,
 "profile_use_background_image": true,
 "id": 45671919, "verified": false, "profile_text_color": "333333",
 "profile_image_url_https":
       "https://pbs.twimg.com/profile_images/793142149/r_normal.png",
 "profile_sidebar_fill_color": "DDEEF6",
 "is_translator": false, "geo_enabled": false, "entities":
 {"description": {"urls": []}}, "followers_count": 43, "protected": false,
 "location": "The Netherlands", "default_profile_image": false,
 "id_str": "45671919", "status": {"contributors": null, "truncated":
  false, "text": "RT @denibertovic: Okay I'm definitely using django-allauth from now on. So easy to set up, far less time consuming, and it just works. #dja\u2026", "in_reply_to_status_id": null, "id": 400658301702381568, "favorite_count": 0, "source": "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>", "retweeted": true, "coordinates": null, "entities": {"symbols": [], "user_mentions": [{"indices": [3, 16], "screen_name": "denibertovic", "id": 23508244, "name": "Deni Bertovic", "id_str": "23508244"}], "hashtags": [{"indices": [135, 139], "text": "dja"}], "urls": []}, "in_reply_to_screen_name": null, "id_str": "400658301702381568", "retweet_count": 6, "in_reply_to_user_id": null, "favorited": false, "retweeted_status": {"lang": "en", "favorited": false, "in_reply_to_user_id": null, "contributors": null, "truncated": false, "text": "Okay I'm definitely using django-allauth from now on. So easy to set up, far less time consuming, and it just works. #django", "created_at": "Sun Jul 28 19:56:26 +0000 2013", "retweeted": true, "in_reply_to_status_id": null, "coordinates": null, "id": 361575897674956800, "entities": {"symbols": [], "user_mentions": [], "hashtags": [{"indices": [117, 124], "text": "django"}], "urls": []}, "in_reply_to_status_id_str": null, "in_reply_to_screen_name": null, "source": "web", "place": null, "retweet_count": 6, "geo": null, "in_reply_to_user_id_str": null, "favorite_count": 8, "id_str": "361575897674956800"}, "geo": null, "in_reply_to_user_id_str": null, "lang": "en", "created_at": "Wed Nov 13 16:15:57 +0000 2013", "in_reply_to_status_id_str": null, "place": null}, "utc_offset": 3600, "statuses_count": 39, "description": "", "friends_count": 83, "profile_link_color": "0084B4", "profile_image_url": "http://pbs.twimg.com/profile_images/793142149/r_normal.png", "notifications": false, "profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png", "profile_background_color": "C0DEED", "profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png", "name": "Raymond Penners", "lang": "nl", "profile_background_tile": false, "favourites_count": 0, "screen_name": "pennersr", "url": null, "created_at": "Mon Jun 08 21:10:45 +0000 2009", "contributors_enabled": false, "time_zone": "Amsterdam", "profile_sidebar_border_color": "C0DEED", "default_profile": true, "following": false, "listed_count": 1} r   ©Úselfs    úk/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/allauth/socialaccount/providers/twitter/tests.pyÚget_mocked_responsez TwitterTests.get_mocked_response   s   € ô Øðx%óð
ð 	
ó    c                  ó   — y)NÚpennersr© r   s    r   Úget_expected_to_strz TwitterTests.get_expected_to_str!   s   € Ør   c                 ó‚  •— t         ‰| �  «        t        j                  j	                  d¬«      }|j                  «       }| j                  |j                  «       d«       | j                  |j                  «       d«       | j                  |j                  «       d«       | j                  |j                  «       d«       y )NÚ45671919)Úuidr   z3http://pbs.twimg.com/profile_images/793142149/r.pngzhttp://twitter.com/pennersr)ÚsuperÚ
test_loginr   ÚobjectsÚgetÚget_provider_accountÚassertEqualÚget_screen_nameÚget_avatar_urlÚget_profile_urlÚto_str)r   ÚaccountÚ
tw_accountÚ	__class__s      €r   r   zTwitterTests.test_login$   s    ø€ Ü‰ÑÔÜ×'Ñ'×+Ñ+°
Ð+Ó;ˆØ×1Ñ1Ó3ˆ
Ø×Ñ˜×3Ñ3Ó5°zÔBØ×ÑØ×%Ñ%Ó'ØAô	
ð 	×Ñ˜×3Ñ3Ó5Ð7TÔUØ×Ñ˜×*Ñ*Ó,¨jÕ9r   )
Ú__name__Ú
__module__Ú__qualname__r	   ÚidÚprovider_idr   r   r   Ú__classcell__)r&   s   @r   r   r   
   s"   ø„ Ø!×$Ñ$€Kò
ò(÷
:ð 
:r   r   N)Údjango.testr   Úallauth.socialaccount.modelsr   Úallauth.socialaccount.testsr   Úallauth.testsr   Úproviderr	   r   r   r   r   ú<module>r2      s"   ðÝ  å 6Ý 7Ý (å %ô$:�? Hõ $:r   