a
    Qx_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   )DwollaProviderc                   @   s$   e Zd ZejZdd ZdddZdS )DwollaTestsc                 C   s
   t ddS )N   z{
            "id": "123",
            "_links":{"account":{"href":"http://localhost"}},
            "name":"John Doe"
        })r   )self r
   c/var/www/html/Ranjet/env/lib/python3.9/site-packages/allauth/socialaccount/providers/dwolla/test.pyget_mocked_response
   s    zDwollaTests.get_mocked_responseTc                 C   s   d}|rd}d| S )N z,"refresh_token": "testrf"z{
            "uid":"weibo",
            "access_token":"testac",
            "_links":{"account":{"href":"http://localhost"}}
            %s }r
   )r	   Zwith_refresh_tokenrtr
   r
   r   get_login_response_json   s    z#DwollaTests.get_login_response_jsonN)T)__name__
__module____qualname__r   idZprovider_idr   r   r
   r
   r
   r   r      s   
r   N)Zallauth.socialaccount.testsr   Zallauth.testsr   r   Zproviderr   r   r
   r
   r
   r   <module>   s   