o
    ëË·e‰  ã                   @   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é   )ÚPatreonProviderc                   @   s   e Zd ZejZdd„ ZdS )ÚPatreonTestsc                 C   s
   t ddƒS )NéÈ   a%  {
        "data": {
            "relationships": {
                "pledges": {
                    "data": [{
                        "type": "pledge", "id": "123456"
                    }]
                }
            },
            "attributes": {
                "last_name": "Interwebs",
                "is_suspended": false,
                "has_password": true,
                "full_name": "John Interwebs",
                "is_nuked": false,
                "first_name": "John",
                "social_connections": {
                    "spotify": null,
                    "discord": null,
                    "twitter": null,
                    "youtube": null,
                    "facebook": null,
                    "deviantart": null,
                    "twitch": null
                },
                "twitter": null,
                "is_email_verified": true,
                "facebook_id": null,
                "email": "john@example.com",
                "facebook": null,
                "thumb_url": "https://c8.patreon.com/100/123456",
                "vanity": null,
                "about": null,
                "is_deleted": false,
                "created": "2017-05-05T05:16:34+00:00",
                "url": "https://www.patreon.com/user?u=123456",
                "gender": 0,
                "youtube": null,
                "discord_id": null,
                "image_url": "https://c8.patreon.com/400/123456",
                "twitch": null
            },
            "type": "user",
            "id": "123456"
        }
        })r   )Úself© r
   úc/var/www/ideatree/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/patreon/test.pyÚget_mocked_response
   s   þz PatreonTests.get_mocked_responseN)Ú__name__Ú
__module__Ú__qualname__r   ÚidÚprovider_idr   r
   r
   r
   r   r      s    r   N)Úallauth.socialaccount.testsr   Úallauth.testsr   r   Úproviderr   r   r
   r
   r
   r   Ú<module>   s    