o
    š"4gE  ã                   @   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é   )ÚHubicProviderc                   @   s,   e Zd ZejZdd„ Zdd„ Zd	dd„ZdS )
Ú
HubicTestsc                 C   s
   t ddƒS )NéÈ   zÜ
{
    "email": "user@example.com",
    "firstname": "Test",
    "activated": true,
    "creationDate": "2014-04-17T17:04:01+02:00",
    "language": "en",
    "status": "ok",
    "offer": "25g",
    "lastname": "User"
}
)r   ©Úself© r   út/var/www/html/authentication-server/venv/lib/python3.10/site-packages/allauth/socialaccount/providers/hubic/tests.pyÚget_mocked_response
   s   þzHubicTests.get_mocked_responsec                 C   ó   dS )Nzuser@example.comr   r	   r   r   r   Úget_expected_to_str   ó   zHubicTests.get_expected_to_strTc                 C   r   )Nzp{    "access_token": "testac",    "expires_in": "3600",    "refresh_token": "testrf",    "token_type": "Bearer"}r   )r
   Úwith_refresh_tokenr   r   r   Úget_login_response_json   r   z"HubicTests.get_login_response_jsonN)T)	Ú__name__Ú
__module__Ú__qualname__r   ÚidÚprovider_idr   r   r   r   r   r   r   r      s
    r   N)Úallauth.socialaccount.testsr   Úallauth.testsr   r   Úproviderr   r   r   r   r   r   Ú<module>   s    