-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtest_alert_api.py
202 lines (141 loc) · 5.05 KB
/
test_alert_api.py
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# coding: utf-8
"""
Wavefront REST API Documentation
<p>The REST API enables you to interact with the Wavefront service by using standard REST API tools. You can use the REST API to automate commonly executed operations, for example to tag sources automatically.</p><p>When you make REST API calls outside the REST API documentation UI, to authenticate to the service, you must use an API token associated with a user account or a service account. For information on how to get the API token and examples, see <a href=\"http://docs.wavefront.com/using_wavefront_api.html\">Use the Wavefront REST API.</a></p> # noqa: E501
OpenAPI spec version: v2
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import wavefront_api_client
from wavefront_api_client.api.alert_api import AlertApi # noqa: E501
from wavefront_api_client.rest import ApiException
class TestAlertApi(unittest.TestCase):
"""AlertApi unit test stubs"""
def setUp(self):
self.api = wavefront_api_client.api.alert_api.AlertApi() # noqa: E501
def tearDown(self):
pass
def test_add_alert_access(self):
"""Test case for add_alert_access
Adds the specified ids to the given alerts' ACL # noqa: E501
"""
pass
def test_add_alert_tag(self):
"""Test case for add_alert_tag
Add a tag to a specific alert # noqa: E501
"""
pass
def test_check_query_type(self):
"""Test case for check_query_type
Return the type of provided query. # noqa: E501
"""
pass
def test_clone_alert(self):
"""Test case for clone_alert
Clones the specified alert # noqa: E501
"""
pass
def test_create_alert(self):
"""Test case for create_alert
Create a specific alert # noqa: E501
"""
pass
def test_delete_alert(self):
"""Test case for delete_alert
Delete a specific alert # noqa: E501
"""
pass
def test_get_alert(self):
"""Test case for get_alert
Get a specific alert # noqa: E501
"""
pass
def test_get_alert_access_control_list(self):
"""Test case for get_alert_access_control_list
Get Access Control Lists' union for the specified alerts # noqa: E501
"""
pass
def test_get_alert_history(self):
"""Test case for get_alert_history
Get the version history of a specific alert # noqa: E501
"""
pass
def test_get_alert_tags(self):
"""Test case for get_alert_tags
Get all tags associated with a specific alert # noqa: E501
"""
pass
def test_get_alert_version(self):
"""Test case for get_alert_version
Get a specific historical version of a specific alert # noqa: E501
"""
pass
def test_get_alerts_summary(self):
"""Test case for get_alerts_summary
Count alerts of various statuses for a customer # noqa: E501
"""
pass
def test_get_all_alert(self):
"""Test case for get_all_alert
Get all alerts for a customer # noqa: E501
"""
pass
def test_hide_alert(self):
"""Test case for hide_alert
Hide a specific integration alert # noqa: E501
"""
pass
def test_preview_alert_notification(self):
"""Test case for preview_alert_notification
Get all the notification preview for a specific alert # noqa: E501
"""
pass
def test_remove_alert_access(self):
"""Test case for remove_alert_access
Removes the specified ids from the given alerts' ACL # noqa: E501
"""
pass
def test_remove_alert_tag(self):
"""Test case for remove_alert_tag
Remove a tag from a specific alert # noqa: E501
"""
pass
def test_set_alert_acl(self):
"""Test case for set_alert_acl
Set ACL for the specified alerts # noqa: E501
"""
pass
def test_set_alert_tags(self):
"""Test case for set_alert_tags
Set all tags associated with a specific alert # noqa: E501
"""
pass
def test_snooze_alert(self):
"""Test case for snooze_alert
Snooze a specific alert for some number of seconds # noqa: E501
"""
pass
def test_undelete_alert(self):
"""Test case for undelete_alert
Undelete a specific alert # noqa: E501
"""
pass
def test_unhide_alert(self):
"""Test case for unhide_alert
Unhide a specific integration alert # noqa: E501
"""
pass
def test_unsnooze_alert(self):
"""Test case for unsnooze_alert
Unsnooze a specific alert # noqa: E501
"""
pass
def test_update_alert(self):
"""Test case for update_alert
Update a specific alert # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()