o
    ÚtBh3  ã                   @   s`   d dl Z d dlZd dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZ G dd„ deƒZdS )	é    N)ÚApiTestBase)Ú
TestHelper)ÚHttpResponseCatcher)Ú	APIHelper)ÚLocationsApic                       s(   e Zd Ze‡ fdd„ƒZdd„ Z‡  ZS )ÚLocationsApiTestsc                    s*   t t| ƒ ¡  tƒ | _t| j| jƒ| _d S )N)Úsuperr   Ú
setUpClassr   Úresponse_catcherr   ÚconfigÚ
controller)Úcls©Ú	__class__© ús/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/tests/api/test_locations_api.pyr	      s   zLocationsApiTests.setUpClassc                 C   s    | j  ¡ }|  | jjjd¡ d S )NéÈ   )r   Úlist_locationsÚassertEqualsr
   ÚresponseÚstatus_code)ÚselfÚresultr   r   r   Útest_list_locations   s   
z%LocationsApiTests.test_list_locations)Ú__name__Ú
__module__Ú__qualname__Úclassmethodr	   r   Ú__classcell__r   r   r   r   r      s    
r   )ÚjsonÚdateutil.parserÚdateutilÚtests.api.api_test_baser   Útests.test_helperr   Útests.http_response_catcherr   Úsquare.api_helperr   Úsquare.api.locations_apir   r   r   r   r   r   Ú<module>   s   