
    f                     D    d dl mZ d dlmZmZ ddlmZ  G d dee      Zy)    )OAuth2TestsMixin)MockedResponseTestCase   )DwollaProviderc                   8    e Zd Zej                  Zd ZddZd Zy)DwollaTestsc                     t        dd      S )N   z{
            "id": "123",
            "_links":{"account":{"href":"http://localhost"}},
            "name":"John Doe"
        })r   selfs    g/var/www/cs2snipe.com/venv/lib/python3.12/site-packages/allauth/socialaccount/providers/dwolla/tests.pyget_mocked_responsezDwollaTests.get_mocked_response
   s    
 	
    c                     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   c                      y)NzJohn Doer   r   s    r   get_expected_to_strzDwollaTests.get_expected_to_str!   s    r   N)T)	__name__
__module____qualname__r   idprovider_idr   r   r   r   r   r   r	   r	      s     ##K

r   r	   N)allauth.socialaccount.testsr   allauth.testsr   r   providerr   r	   r   r   r   <module>r!      s    8 2 $"H r   