
    )JfE                     L    d dl mZ d dlmZmZ ddlmZ  G d dee          ZdS )    )OAuth2TestsMixin)MockedResponseTestCase   )DwollaProviderc                   *    e Zd Zej        Zd ZddZdS )DwollaTestsc                 "    t          dd          S )N   z{
            "id": "123",
            "_links":{"account":{"href":"http://localhost"}},
            "name":"John Doe"
        })r   )selfs    o/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/allauth/socialaccount/providers/dwolla/tests.pyget_mocked_responsezDwollaTests.get_mocked_response
   s    
 
 	
    Tc                     d}|rd}d|z  S )N z,"refresh_token": "testrf"z{
            "uid":"weibo",
            "access_token":"testac",
            "_links":{"account":{"href":"http://localhost"}}
            %s } )r   with_refresh_tokenrts      r   get_login_response_jsonz#DwollaTests.get_login_response_json   s(     	.-B
 	
r   N)T)__name__
__module____qualname__r   idprovider_idr   r   r   r   r   r	   r	      s?         #K
 
 

 
 
 
 
 
r   r	   N)allauth.socialaccount.testsr   allauth.testsr   r   providerr   r	   r   r   r   <module>r      sx    8 8 8 8 8 8 2 2 2 2 2 2 2 2 $ $ $ $ $ $
 
 
 
 
"H 
 
 
 
 
r   