U
    ¶[ÖeÏ  ã                   @   s(   d dl Z d dlmZ G dd„ deƒZdS )é    N)Ú
OAuth2Testc                   @   s\   e Zd ZdZdZdZdZe ddddddd	d
dddddddddddœ¡Z	dd„ Z
dd„ ZdS )ÚDeezerOAuth2Testz#social.backends.deezer.DeezerOAuth2zhttp://api.deezer.com/user/meZfoobarzaccess_token=foobar&expires=0Ú1Ú r   z
1970-01-01z
2015-01-01ÚMz https://www.deezer.com/profile/1z#https://api.deezer.com/user/1/imagezBhttps://cdns-images.dzcdn.net/images/user//56x56-000000-80-0-0.jpgzDhttps://cdns-images.dzcdn.net/images/user//250x250-000000-80-0-0.jpgzDhttps://cdns-images.dzcdn.net/images/user//500x500-000000-80-0-0.jpgZFRFz"https://api.deezer.com/user/1/flowÚuser)ÚidÚnameÚlastnameZ	firstnameÚstatusÚbirthdayZinscription_dateZgenderÚlinkZpictureZpicture_smallZpicture_mediumZpicture_bigZcountryÚlangZis_kidZ	tracklistÚtypec                 C   s   |   ¡  d S ©N)Zdo_login©Úself© r   úc/var/www/html/services/stratfitenv/lib/python3.8/site-packages/social/tests/backends/test_deezer.pyÚ
test_login    s    zDeezerOAuth2Test.test_loginc                 C   s   |   ¡  d S r   )Zdo_partial_pipeliner   r   r   r   Útest_partial_pipeline#   s    z&DeezerOAuth2Test.test_partial_pipelineN)Ú__name__Ú
__module__Ú__qualname__Úbackend_pathZuser_data_urlZexpected_usernameZaccess_token_bodyÚjsonÚdumpsZuser_data_bodyr   r   r   r   r   r   r      s4   îr   )r   Zsocial.tests.backends.oauthr   r   r   r   r   r   Ú<module>   s   