o
    š"4g¢  ã                   @   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é   )ÚSlackProviderc                   @   s"   e Zd ZejZdd„ Zdd„ ZdS )ÚSlackOAuth2Testsc                 C   s
   t ddƒS )NéÈ   aô  {
    "ok": true,
    "sub": "U0R7JM",
    "https://slack.com/user_id": "U0R7JM",
    "https://slack.com/team_id": "T0R7GR",
    "email": "krane@slack-corp.com",
    "email_verified": true,
    "date_email_verified": 1622128723,
    "name": "krane",
    "picture": "https://secure.gravatar.com/....png",
    "given_name": "Bront",
    "family_name": "Labradoodle",
    "locale": "en-US",
    "https://slack.com/team_name": "kraneflannel",
    "https://slack.com/team_domain": "kraneflannel"
        })r   ©Úself© r   út/var/www/html/authentication-server/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/slack/tests.pyÚget_mocked_response
   s   þz$SlackOAuth2Tests.get_mocked_responsec                 C   s   dS )Nzkrane@slack-corp.comr   r	   r   r   r   Úget_expected_to_str   s   z$SlackOAuth2Tests.get_expected_to_strN)Ú__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    