o
    t¨Êhl  ã                   @   sJ   d dl mZ zd dlZW n ey   d dlZY nw G dd„ dejƒZdS )é    )ÚConfigNc                   @   s   e Zd Zdd„ Zdd„ ZdS )Ú	UnitTestsc                 C   s   t ƒ | _d S )N)r   Úconfig)Úself© r   úB/var/www/html/env/lib/python3.10/site-packages/test/test_config.pyÚsetUp
   s   zUnitTests.setUpc                 C   sx   d}d}d}g d¢}d}|   || jj¡ |   || jj¡ |   || jj¡ |   || jj¡ |D ]}|   || jjv ¡ q.d S )Nz/inboundiˆ  T)ÚfromÚattachmentsÚheadersÚtextÚenvelopeÚtoÚhtmlÚ	sender_ipzattachment-infoÚsubjectÚdkimÚSPFÚcharsetszcontent-idsÚspam_reportÚ
spam_scoreÚemailzhttp://127.0.0.1:5000/inbound)Ú
assertTruer   Ú
debug_modeÚendpointÚhostÚportÚkeys)r   r   r   r   r   r   Úkeyr   r   r   Útest_initialization   s   ÿzUnitTests.test_initializationN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r      s    r   )Úsendgrid.helpers.inbound.configr   Ú	unittest2ÚunittestÚImportErrorÚTestCaser   r   r   r   r   Ú<module>   s    ÿ