o
    tBh                     @   s`   d dl mZmZmZ d dlmZmZmZmZ d dl	m
Z
mZ dd Zdd Zdd	 Zd
d ZdS )    )NotificationsReportsFinances)SellingApiExceptionNotificationType
ReportTypeMarketplaces)throttle_retryload_all_pagesc                  C   sH   t  jddd} | jddksJ | jddddks"J d S )	Ntestz)arn:aws:sqs:us-east-2:444455556666:queue1)namearndestinationIdTEST_CASE_200_DESTINATION_IDresourcesqsr   )r   create_destinationpayloadgetres r   /var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/tests/api/notifications/test_notifications.pytest_create_destination   s   $r   c                  C   s>   t  jtjdd} | jddksJ | jddksJ d S )Ndest_id)destination_idr   r   subscriptionIdTEST_CASE_200_SUBSCRIPTION_ID)r   create_subscriptionr   MFN_ORDER_STATUS_CHANGEr   r   r   r   r   r   test_create_subscription   s   r    c                  C   s"   t  tjd} | jd u sJ d S )Nsubscription_id)r    delete_notification_subscriptionr   r   errorsr   r   r   r   test_delete_subscription   s   r$   c                  C   s:   t  tj} | jddksJ | jddksJ d S )Nr   r   r   r   )r   get_subscriptionr   REPORT_PROCESSING_FINISHEDr   r   r   r   r   r   test_get_subscriptions   s   r'   N)
sp_api.apir   r   r   sp_api.baser   r   r   r   sp_api.utilr	   r
   r   r    r$   r'   r   r   r   r   <module>   s    