-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtest_coupons_api.py
More file actions
69 lines (46 loc) · 2.31 KB
/
Copy pathtest_coupons_api.py
File metadata and controls
69 lines (46 loc) · 2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# coding: utf-8
"""
Brevo API
Brevo 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/brevo **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 | | 422 | Error. Unprocessable Entity | # noqa: E501
OpenAPI spec version: 3.0.0
Contact: contact@brevo.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import brevo_python
from brevo_python.api.coupons_api import CouponsApi # noqa: E501
from brevo_python.rest import ApiException
class TestCouponsApi(unittest.TestCase):
"""CouponsApi unit test stubs"""
def setUp(self):
self.api = brevo_python.api.coupons_api.CouponsApi() # noqa: E501
def tearDown(self):
pass
def test_create_coupon_collection(self):
"""Test case for create_coupon_collection
Create а coupon collection # noqa: E501
"""
pass
def test_create_coupons(self):
"""Test case for create_coupons
Create coupons for a coupon collection # noqa: E501
"""
pass
def test_get_coupon_collection(self):
"""Test case for get_coupon_collection
Get a coupon collection by id # noqa: E501
"""
pass
def test_get_coupon_collections(self):
"""Test case for get_coupon_collections
Get all your coupon collections # noqa: E501
"""
pass
def test_update_coupon_collection(self):
"""Test case for update_coupon_collection
Update a coupon collection by id # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()