U
    ä«FcÅ  ã                   @   s6   d dl Z d dlmZ d dlmZ G dd„ de jƒZdS )é    N)ÚConfig)Úappc                   @   s   e Zd Zdd„ Zdd„ ZdS )Ú	UnitTestsc                 C   s   t ƒ | _t | ¡| _d S )N)r   Úconfigr   Ztest_clientÚtester)Úself© r   ú8/tmp/pip-unpacked-wheel-7j3043uk/test/unit/test_parse.pyÚsetUp	   s    zUnitTests.setUpc                 C   s&   | j j| jjdd�}|  |jd¡ d S )Nz{"Message:", "Success"})ÚdataéÈ   )r   Úpostr   ZendpointÚassertEqualÚstatus_code)r   Úresponser   r   r	   Ú
test_parse   s    ÿzUnitTests.test_parseN)Ú__name__Ú
__module__Ú__qualname__r
   r   r   r   r   r	   r      s   r   )ZunittestZsendgrid.helpers.inbound.configr   Zsendgrid.helpers.inbound.appr   ZTestCaser   r   r   r   r	   Ú<module>   s   