o
    l2Æ^É  ã                   @   sb   d Z ddlmZ ddlZddlZddlmZ ddlmZ G dd„ dej	ƒZ
edkr/e ¡  dS dS )	aø  
    SendinBlue API

    SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to :   - Manage your campaigns and get the statistics   - Manage your contacts   - Send transactional Emails and SMS   - and much more...  You can download our wrappers at https://github.com/orgs/sendinblue  **Possible responses**   | Code | Message |   | :-------------: | ------------- |   | 200  | OK. Successful Request  |   | 201  | OK. Successful Creation |   | 202  | OK. Request accepted |   | 204  | OK. Successful Update/Deletion  |   | 400  | Error. Bad Request  |   | 401  | Error. Authentication Needed  |   | 402  | Error. Not enough credit, plan upgrade needed  |   | 403  | Error. Permission denied  |   | 404  | Error. Object does not exist |   | 405  | Error. Method not allowed  |   | 406  | Error. Not Acceptable  |   # noqa: E501

    OpenAPI spec version: 3.0.0
    Contact: contact@sendinblue.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
é    )Úabsolute_importN)ÚEmailCampaignsApi)ÚApiExceptionc                   @   sˆ   e Zd ZdZdd„ Zdd„ Zdd„ Zdd	„ Zd
d„ Zdd„ Z	dd„ Z
dd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zdd„ Zd S )!ÚTestEmailCampaignsApiz!EmailCampaignsApi unit test stubsc                 C   s   t jj ¡ | _d S ©N)Úsib_api_v3_sdkÚapiÚemail_campaigns_apir   ©Úself© r   úO/var/www/html/env/lib/python3.10/site-packages/test/test_email_campaigns_api.pyÚsetUp   s   zTestEmailCampaignsApi.setUpc                 C   s   d S r   r   r
   r   r   r   ÚtearDown   s   zTestEmailCampaignsApi.tearDownc                 C   ó   dS )z\Test case for create_email_campaign

        Create an email campaign  # noqa: E501
        Nr   r
   r   r   r   Útest_create_email_campaign    ó   z0TestEmailCampaignsApi.test_create_email_campaignc                 C   r   )z\Test case for delete_email_campaign

        Delete an email campaign  # noqa: E501
        Nr   r
   r   r   r   Útest_delete_email_campaign'   r   z0TestEmailCampaignsApi.test_delete_email_campaignc                 C   r   )zpTest case for email_export_recipients

        Export the recipients of an email campaign  # noqa: E501
        Nr   r
   r   r   r   Útest_email_export_recipients.   r   z2TestEmailCampaignsApi.test_email_export_recipientsc                 C   r   )zpTest case for get_ab_test_campaign_result

        Get an A/B test email campaign results  # noqa: E501
        Nr   r
   r   r   r   Ú test_get_ab_test_campaign_result5   r   z6TestEmailCampaignsApi.test_get_ab_test_campaign_resultc                 C   r   )z]Test case for get_email_campaign

        Get an email campaign report  # noqa: E501
        Nr   r
   r   r   r   Útest_get_email_campaign<   r   z-TestEmailCampaignsApi.test_get_email_campaignc                 C   r   )ziTest case for get_email_campaigns

        Return all your created email campaigns  # noqa: E501
        Nr   r
   r   r   r   Útest_get_email_campaignsC   r   z.TestEmailCampaignsApi.test_get_email_campaignsc                 C   r   )z_Test case for get_shared_template_url

        Get a shared template url  # noqa: E501
        Nr   r
   r   r   r   Útest_get_shared_template_urlJ   r   z2TestEmailCampaignsApi.test_get_shared_template_urlc                 C   r   )z}Test case for send_email_campaign_now

        Send an email campaign immediately, based on campaignId  # noqa: E501
        Nr   r
   r   r   r   Útest_send_email_campaign_nowQ   r   z2TestEmailCampaignsApi.test_send_email_campaign_nowc                 C   r   )zWTest case for send_report

        Send the report of a campaign  # noqa: E501
        Nr   r
   r   r   r   Útest_send_reportX   r   z&TestEmailCampaignsApi.test_send_reportc                 C   r   )zfTest case for send_test_email

        Send an email campaign to your test list  # noqa: E501
        Nr   r
   r   r   r   Útest_send_test_email_   r   z*TestEmailCampaignsApi.test_send_test_emailc                 C   r   )zdTest case for update_campaign_status

        Update an email campaign status  # noqa: E501
        Nr   r
   r   r   r   Útest_update_campaign_statusf   r   z1TestEmailCampaignsApi.test_update_campaign_statusc                 C   r   )z\Test case for update_email_campaign

        Update an email campaign  # noqa: E501
        Nr   r
   r   r   r   Útest_update_email_campaignm   r   z0TestEmailCampaignsApi.test_update_email_campaignc                 C   r   )zuTest case for upload_image_to_gallery

        Upload an image to your account's image gallery  # noqa: E501
        Nr   r
   r   r   r   Útest_upload_image_to_galleryt   r   z2TestEmailCampaignsApi.test_upload_image_to_galleryN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r      s"    r   Ú__main__)r"   Ú
__future__r   Úunittestr   Ú&sib_api_v3_sdk.api.email_campaigns_apir   Úsib_api_v3_sdk.restr   ÚTestCaser   r   Úmainr   r   r   r   Ú<module>   s   eÿ