-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathtest_account__user_and_service_account_api.py
216 lines (151 loc) · 6.26 KB
/
test_account__user_and_service_account_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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# 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.account__user_and_service_account_api import AccountUserAndServiceAccountApi # noqa: E501
from wavefront_api_client.rest import ApiException
class TestAccountUserAndServiceAccountApi(unittest.TestCase):
"""AccountUserAndServiceAccountApi unit test stubs"""
def setUp(self):
self.api = wavefront_api_client.api.account__user_and_service_account_api.AccountUserAndServiceAccountApi() # noqa: E501
def tearDown(self):
pass
def test_activate_account(self):
"""Test case for activate_account
Activates the given service account # noqa: E501
"""
pass
def test_add_account_to_roles(self):
"""Test case for add_account_to_roles
Adds specific roles to the account (user or service account) # noqa: E501
"""
pass
def test_add_account_to_user_groups(self):
"""Test case for add_account_to_user_groups
Adds specific groups to the account (user or service account) # noqa: E501
"""
pass
def test_create_or_update_user_account(self):
"""Test case for create_or_update_user_account
Creates or updates a user account # noqa: E501
"""
pass
def test_create_service_account(self):
"""Test case for create_service_account
Creates a service account # noqa: E501
"""
pass
def test_deactivate_account(self):
"""Test case for deactivate_account
Deactivates the given service account # noqa: E501
"""
pass
def test_delete_account(self):
"""Test case for delete_account
Deletes an account (user or service account) identified by id # noqa: E501
"""
pass
def test_delete_multiple_accounts(self):
"""Test case for delete_multiple_accounts
Deletes multiple accounts (users or service accounts) # noqa: E501
"""
pass
def test_get_account(self):
"""Test case for get_account
Get a specific account (user or service account) # noqa: E501
"""
pass
def test_get_account_business_functions(self):
"""Test case for get_account_business_functions
Returns business functions of a specific account (user or service account). # noqa: E501
"""
pass
def test_get_all_accounts(self):
"""Test case for get_all_accounts
Get all accounts (users and service accounts) of a customer # noqa: E501
"""
pass
def test_get_all_service_accounts(self):
"""Test case for get_all_service_accounts
Get all service accounts # noqa: E501
"""
pass
def test_get_all_user_accounts(self):
"""Test case for get_all_user_accounts
Get all user accounts # noqa: E501
"""
pass
def test_get_service_account(self):
"""Test case for get_service_account
Retrieves a service account by identifier # noqa: E501
"""
pass
def test_get_user_account(self):
"""Test case for get_user_account
Retrieves a user by identifier (email address) # noqa: E501
"""
pass
def test_get_users_with_accounts_permission(self):
"""Test case for get_users_with_accounts_permission
Get all users with Accounts permission # noqa: E501
"""
pass
def test_grant_account_permission(self):
"""Test case for grant_account_permission
Grants a specific permission to account (user or service account) # noqa: E501
"""
pass
def test_grant_permission_to_accounts(self):
"""Test case for grant_permission_to_accounts
Grant a permission to accounts (users or service accounts) # noqa: E501
"""
pass
def test_invite_user_accounts(self):
"""Test case for invite_user_accounts
Invite user accounts with given user groups and permissions. # noqa: E501
"""
pass
def test_remove_account_from_roles(self):
"""Test case for remove_account_from_roles
Removes specific roles from the account (user or service account) # noqa: E501
"""
pass
def test_remove_account_from_user_groups(self):
"""Test case for remove_account_from_user_groups
Removes specific groups from the account (user or service account) # noqa: E501
"""
pass
def test_revoke_account_permission(self):
"""Test case for revoke_account_permission
Revokes a specific permission from account (user or service account) # noqa: E501
"""
pass
def test_revoke_permission_from_accounts(self):
"""Test case for revoke_permission_from_accounts
Revoke a permission from accounts (users or service accounts) # noqa: E501
"""
pass
def test_update_service_account(self):
"""Test case for update_service_account
Updates the service account # noqa: E501
"""
pass
def test_update_user_account(self):
"""Test case for update_user_account
Update user with given user groups and permissions. # noqa: E501
"""
pass
def test_validate_accounts(self):
"""Test case for validate_accounts
Returns valid accounts (users and service accounts), also invalid identifiers from the given list # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()