
    M}bg                     H    d dl Z d dlZd dlmZ  G d dej                  ZdS )    N)TwilioEmailAPIClientc                   6    e Zd Zed             Zd Zd Zd ZdS )	UnitTestsc                 ~    dt           j        d<   dt           j        d<   dt           j        d<   dt           j        d<   d S )	Napi-keyTWILIO_API_KEY
api-secretTWILIO_API_SECRETaccount-sidTWILIO_ACCOUNT_SID
auth-tokenTWILIO_AUTH_TOKEN)osenviron)clss    n/home/e360mart.nyusoft.in/public_html/e360mart_env/lib/python3.11/site-packages/test/unit/test_twilio_email.py
setUpClasszUnitTests.setUpClass	   s<    '0
#$*6
&'+8
'(*6
&'''    c                     t                      }|                     |j        d           |                     |j        d           |                     |j        d           d S )Nr   r	   zhttps://email.twilio.com)r   assertEqualusernamepasswordhostselfmail_clients     r   test_init_key_over_tokenz"UnitTests.test_init_key_over_token   s_    *,,-y999-|<<<)+EFFFFFr   c                     t           j        d= t           j        d= t                      }|                     |j        d           |                     |j        d           d S )Nr   r
   r   r   )r   r   r   r   r   r   r   s     r   test_init_tokenzUnitTests.test_init_token   s[    J'(J*+*,,-}===-|<<<<<r   c                     t          dd          }|                     |j        d           |                     |j        d           |                     |j        d           d S )Nr   r   zBasic dXNlcm5hbWU6cGFzc3dvcmQ=)r   r   r   r   authr   s     r   test_init_argszUnitTests.test_init_args    sc    *:zBB-z:::-z:::)+KLLLLLr   N)__name__
__module____qualname__classmethodr   r   r   r"    r   r   r   r      sb        7 7 [7G G G= = =M M M M Mr   r   )r   unittestsendgridr   TestCaser   r'   r   r   <module>r+      sj    				  ) ) ) ) ) )M M M M M! M M M M Mr   