zrok2-build-debugging 22.0.2000008__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. test/__init__.py +0 -0
  2. test/test_access201_response.py +52 -0
  3. test/test_access_request.py +54 -0
  4. test/test_access_summary.py +60 -0
  5. test/test_accesses_list.py +63 -0
  6. test/test_account_api.py +79 -0
  7. test/test_add_frontend_grant_request.py +52 -0
  8. test/test_add_namespace_frontend_mapping_request.py +53 -0
  9. test/test_add_namespace_grant_request.py +52 -0
  10. test/test_add_organization_member_request.py +53 -0
  11. test/test_admin_api.py +199 -0
  12. test/test_agent_api.py +85 -0
  13. test/test_auth_user.py +52 -0
  14. test/test_change_password_request.py +53 -0
  15. test/test_client_version_check_request.py +51 -0
  16. test/test_configuration.py +56 -0
  17. test/test_create_frontend201_response.py +51 -0
  18. test/test_create_frontend_request.py +55 -0
  19. test/test_create_identity201_response.py +52 -0
  20. test/test_create_identity_request.py +51 -0
  21. test/test_create_namespace201_response.py +51 -0
  22. test/test_create_namespace_request.py +54 -0
  23. test/test_create_organization201_response.py +51 -0
  24. test/test_create_organization_request.py +51 -0
  25. test/test_create_share_name_request.py +52 -0
  26. test/test_delete_identity_request.py +51 -0
  27. test/test_disable_request.py +51 -0
  28. test/test_enable_request.py +52 -0
  29. test/test_enroll200_response.py +51 -0
  30. test/test_enroll_request.py +51 -0
  31. test/test_environment.py +63 -0
  32. test/test_environment_and_resources.py +96 -0
  33. test/test_environment_api.py +43 -0
  34. test/test_environment_summary.py +60 -0
  35. test/test_environments_list.py +63 -0
  36. test/test_frontend.py +59 -0
  37. test/test_get_sparklines200_response.py +62 -0
  38. test/test_get_sparklines_request.py +57 -0
  39. test/test_invite_request.py +52 -0
  40. test/test_invite_token_generate_request.py +53 -0
  41. test/test_list_frontend_namespace_mappings200_response_inner.py +54 -0
  42. test/test_list_frontends200_response_inner.py +58 -0
  43. test/test_list_memberships200_response.py +56 -0
  44. test/test_list_memberships200_response_memberships_inner.py +53 -0
  45. test/test_list_namespaces200_response_inner.py +56 -0
  46. test/test_list_organization_members200_response.py +55 -0
  47. test/test_list_organization_members200_response_members_inner.py +52 -0
  48. test/test_list_organizations200_response.py +55 -0
  49. test/test_list_organizations200_response_organizations_inner.py +52 -0
  50. test/test_list_share_namespaces200_response_inner.py +53 -0
  51. test/test_login_request.py +52 -0
  52. test/test_metadata_api.py +145 -0
  53. test/test_metrics.py +59 -0
  54. test/test_metrics_sample.py +53 -0
  55. test/test_name.py +56 -0
  56. test/test_name_selection.py +52 -0
  57. test/test_overview.py +110 -0
  58. test/test_overview_names_inner.py +56 -0
  59. test/test_ping200_response.py +51 -0
  60. test/test_principal.py +55 -0
  61. test/test_regenerate_account_token200_response.py +51 -0
  62. test/test_regenerate_account_token_request.py +51 -0
  63. test/test_register_request.py +52 -0
  64. test/test_remote_access_request.py +60 -0
  65. test/test_remote_share200_response.py +54 -0
  66. test/test_remote_share_request.py +74 -0
  67. test/test_remote_status200_response.py +82 -0
  68. test/test_remote_status200_response_accesses_inner.py +62 -0
  69. test/test_remote_status200_response_shares_inner.py +64 -0
  70. test/test_remote_status200_response_shares_inner_failure.py +54 -0
  71. test/test_remote_unaccess_request.py +52 -0
  72. test/test_remote_unshare_request.py +52 -0
  73. test/test_remove_namespace_frontend_mapping_request.py +52 -0
  74. test/test_remove_organization_member_request.py +52 -0
  75. test/test_reset_password_request.py +52 -0
  76. test/test_share.py +67 -0
  77. test/test_share_api.py +103 -0
  78. test/test_share_http_healthcheck200_response.py +52 -0
  79. test/test_share_http_healthcheck_request.py +56 -0
  80. test/test_share_request.py +75 -0
  81. test/test_share_response.py +54 -0
  82. test/test_share_summary.py +62 -0
  83. test/test_shares_list.py +65 -0
  84. test/test_spark_data_sample.py +52 -0
  85. test/test_unaccess_request.py +53 -0
  86. test/test_unshare_request.py +52 -0
  87. test/test_update_access_request.py +53 -0
  88. test/test_update_frontend_request.py +55 -0
  89. test/test_update_namespace_request.py +55 -0
  90. test/test_update_share_name_request.py +53 -0
  91. test/test_update_share_request.py +57 -0
  92. test/test_verify200_response.py +51 -0
  93. test/test_verify_request.py +51 -0
  94. test/test_version_inventory200_response.py +51 -0
  95. zrok/__init__.py +4 -0
  96. zrok/_version.py +21 -0
  97. zrok/access.py +58 -0
  98. zrok/decor.py +33 -0
  99. zrok/dialer.py +10 -0
  100. zrok/environment/__init__.py +1 -0
  101. zrok/environment/dirs.py +32 -0
  102. zrok/environment/root.py +182 -0
  103. zrok/listener.py +29 -0
  104. zrok/model.py +75 -0
  105. zrok/overview.py +77 -0
  106. zrok/proxy.py +203 -0
  107. zrok/share.py +199 -0
  108. zrok2_build_debugging-22.0.2000008.dist-info/METADATA +24 -0
  109. zrok2_build_debugging-22.0.2000008.dist-info/RECORD +213 -0
  110. zrok2_build_debugging-22.0.2000008.dist-info/WHEEL +5 -0
  111. zrok2_build_debugging-22.0.2000008.dist-info/top_level.txt +3 -0
  112. zrok_api/__init__.py +231 -0
  113. zrok_api/api/__init__.py +10 -0
  114. zrok_api/api/account_api.py +2261 -0
  115. zrok_api/api/admin_api.py +7673 -0
  116. zrok_api/api/agent_api.py +2547 -0
  117. zrok_api/api/environment_api.py +589 -0
  118. zrok_api/api/metadata_api.py +5614 -0
  119. zrok_api/api/share_api.py +3321 -0
  120. zrok_api/api_client.py +801 -0
  121. zrok_api/api_response.py +21 -0
  122. zrok_api/configuration.py +602 -0
  123. zrok_api/exceptions.py +216 -0
  124. zrok_api/models/__init__.py +103 -0
  125. zrok_api/models/access201_response.py +89 -0
  126. zrok_api/models/access_request.py +93 -0
  127. zrok_api/models/access_summary.py +105 -0
  128. zrok_api/models/accesses_list.py +95 -0
  129. zrok_api/models/add_frontend_grant_request.py +89 -0
  130. zrok_api/models/add_namespace_frontend_mapping_request.py +91 -0
  131. zrok_api/models/add_namespace_grant_request.py +89 -0
  132. zrok_api/models/add_organization_member_request.py +91 -0
  133. zrok_api/models/auth_user.py +89 -0
  134. zrok_api/models/change_password_request.py +91 -0
  135. zrok_api/models/client_version_check_request.py +87 -0
  136. zrok_api/models/configuration.py +97 -0
  137. zrok_api/models/create_frontend201_response.py +87 -0
  138. zrok_api/models/create_frontend_request.py +105 -0
  139. zrok_api/models/create_identity201_response.py +89 -0
  140. zrok_api/models/create_identity_request.py +87 -0
  141. zrok_api/models/create_namespace201_response.py +87 -0
  142. zrok_api/models/create_namespace_request.py +93 -0
  143. zrok_api/models/create_organization201_response.py +87 -0
  144. zrok_api/models/create_organization_request.py +87 -0
  145. zrok_api/models/create_share_name_request.py +89 -0
  146. zrok_api/models/delete_identity_request.py +87 -0
  147. zrok_api/models/disable_request.py +87 -0
  148. zrok_api/models/enable_request.py +89 -0
  149. zrok_api/models/enroll200_response.py +87 -0
  150. zrok_api/models/enroll_request.py +87 -0
  151. zrok_api/models/environment.py +111 -0
  152. zrok_api/models/environment_and_resources.py +111 -0
  153. zrok_api/models/environment_summary.py +105 -0
  154. zrok_api/models/environments_list.py +95 -0
  155. zrok_api/models/frontend.py +103 -0
  156. zrok_api/models/get_sparklines200_response.py +95 -0
  157. zrok_api/models/get_sparklines_request.py +91 -0
  158. zrok_api/models/invite_request.py +89 -0
  159. zrok_api/models/invite_token_generate_request.py +87 -0
  160. zrok_api/models/list_frontend_namespace_mappings200_response_inner.py +93 -0
  161. zrok_api/models/list_frontends200_response_inner.py +101 -0
  162. zrok_api/models/list_memberships200_response.py +95 -0
  163. zrok_api/models/list_memberships200_response_memberships_inner.py +91 -0
  164. zrok_api/models/list_namespaces200_response_inner.py +97 -0
  165. zrok_api/models/list_organization_members200_response.py +95 -0
  166. zrok_api/models/list_organization_members200_response_members_inner.py +89 -0
  167. zrok_api/models/list_organizations200_response.py +95 -0
  168. zrok_api/models/list_organizations200_response_organizations_inner.py +89 -0
  169. zrok_api/models/list_share_namespaces200_response_inner.py +91 -0
  170. zrok_api/models/login_request.py +89 -0
  171. zrok_api/models/metrics.py +101 -0
  172. zrok_api/models/metrics_sample.py +91 -0
  173. zrok_api/models/name.py +97 -0
  174. zrok_api/models/name_selection.py +89 -0
  175. zrok_api/models/overview.py +117 -0
  176. zrok_api/models/overview_names_inner.py +97 -0
  177. zrok_api/models/ping200_response.py +87 -0
  178. zrok_api/models/principal.py +95 -0
  179. zrok_api/models/regenerate_account_token200_response.py +87 -0
  180. zrok_api/models/regenerate_account_token_request.py +87 -0
  181. zrok_api/models/register_request.py +89 -0
  182. zrok_api/models/remote_access_request.py +102 -0
  183. zrok_api/models/remote_share200_response.py +89 -0
  184. zrok_api/models/remote_share_request.py +141 -0
  185. zrok_api/models/remote_status200_response.py +105 -0
  186. zrok_api/models/remote_status200_response_accesses_inner.py +101 -0
  187. zrok_api/models/remote_status200_response_shares_inner.py +105 -0
  188. zrok_api/models/remote_status200_response_shares_inner_failure.py +93 -0
  189. zrok_api/models/remote_unaccess_request.py +89 -0
  190. zrok_api/models/remote_unshare_request.py +89 -0
  191. zrok_api/models/remove_namespace_frontend_mapping_request.py +89 -0
  192. zrok_api/models/remove_organization_member_request.py +89 -0
  193. zrok_api/models/reset_password_request.py +89 -0
  194. zrok_api/models/share.py +115 -0
  195. zrok_api/models/share_http_healthcheck200_response.py +89 -0
  196. zrok_api/models/share_http_healthcheck_request.py +97 -0
  197. zrok_api/models/share_request.py +157 -0
  198. zrok_api/models/share_response.py +89 -0
  199. zrok_api/models/share_summary.py +105 -0
  200. zrok_api/models/shares_list.py +95 -0
  201. zrok_api/models/spark_data_sample.py +89 -0
  202. zrok_api/models/unaccess_request.py +91 -0
  203. zrok_api/models/unshare_request.py +89 -0
  204. zrok_api/models/update_access_request.py +91 -0
  205. zrok_api/models/update_frontend_request.py +95 -0
  206. zrok_api/models/update_namespace_request.py +95 -0
  207. zrok_api/models/update_share_name_request.py +91 -0
  208. zrok_api/models/update_share_request.py +91 -0
  209. zrok_api/models/verify200_response.py +87 -0
  210. zrok_api/models/verify_request.py +87 -0
  211. zrok_api/models/version_inventory200_response.py +87 -0
  212. zrok_api/py.typed +0 -0
  213. zrok_api/rest.py +258 -0
test/test_admin_api.py ADDED
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.api.admin_api import AdminApi
18
+
19
+
20
+ class TestAdminApi(unittest.TestCase):
21
+ """AdminApi unit test stubs"""
22
+
23
+ def setUp(self) -> None:
24
+ self.api = AdminApi()
25
+
26
+ def tearDown(self) -> None:
27
+ pass
28
+
29
+ def test_add_frontend_grant(self) -> None:
30
+ """Test case for add_frontend_grant
31
+
32
+ """
33
+ pass
34
+
35
+ def test_add_namespace_frontend_mapping(self) -> None:
36
+ """Test case for add_namespace_frontend_mapping
37
+
38
+ """
39
+ pass
40
+
41
+ def test_add_namespace_grant(self) -> None:
42
+ """Test case for add_namespace_grant
43
+
44
+ """
45
+ pass
46
+
47
+ def test_add_organization_member(self) -> None:
48
+ """Test case for add_organization_member
49
+
50
+ """
51
+ pass
52
+
53
+ def test_create_account(self) -> None:
54
+ """Test case for create_account
55
+
56
+ """
57
+ pass
58
+
59
+ def test_create_frontend(self) -> None:
60
+ """Test case for create_frontend
61
+
62
+ """
63
+ pass
64
+
65
+ def test_create_identity(self) -> None:
66
+ """Test case for create_identity
67
+
68
+ """
69
+ pass
70
+
71
+ def test_create_namespace(self) -> None:
72
+ """Test case for create_namespace
73
+
74
+ """
75
+ pass
76
+
77
+ def test_create_organization(self) -> None:
78
+ """Test case for create_organization
79
+
80
+ """
81
+ pass
82
+
83
+ def test_delete_account(self) -> None:
84
+ """Test case for delete_account
85
+
86
+ """
87
+ pass
88
+
89
+ def test_delete_frontend(self) -> None:
90
+ """Test case for delete_frontend
91
+
92
+ """
93
+ pass
94
+
95
+ def test_delete_frontend_grant(self) -> None:
96
+ """Test case for delete_frontend_grant
97
+
98
+ """
99
+ pass
100
+
101
+ def test_delete_identity(self) -> None:
102
+ """Test case for delete_identity
103
+
104
+ """
105
+ pass
106
+
107
+ def test_delete_namespace(self) -> None:
108
+ """Test case for delete_namespace
109
+
110
+ """
111
+ pass
112
+
113
+ def test_delete_organization(self) -> None:
114
+ """Test case for delete_organization
115
+
116
+ """
117
+ pass
118
+
119
+ def test_grants(self) -> None:
120
+ """Test case for grants
121
+
122
+ """
123
+ pass
124
+
125
+ def test_invite_token_generate(self) -> None:
126
+ """Test case for invite_token_generate
127
+
128
+ """
129
+ pass
130
+
131
+ def test_list_frontend_namespace_mappings(self) -> None:
132
+ """Test case for list_frontend_namespace_mappings
133
+
134
+ """
135
+ pass
136
+
137
+ def test_list_frontends(self) -> None:
138
+ """Test case for list_frontends
139
+
140
+ """
141
+ pass
142
+
143
+ def test_list_namespace_frontend_mappings(self) -> None:
144
+ """Test case for list_namespace_frontend_mappings
145
+
146
+ """
147
+ pass
148
+
149
+ def test_list_namespaces(self) -> None:
150
+ """Test case for list_namespaces
151
+
152
+ """
153
+ pass
154
+
155
+ def test_list_organization_members(self) -> None:
156
+ """Test case for list_organization_members
157
+
158
+ """
159
+ pass
160
+
161
+ def test_list_organizations(self) -> None:
162
+ """Test case for list_organizations
163
+
164
+ """
165
+ pass
166
+
167
+ def test_remove_namespace_frontend_mapping(self) -> None:
168
+ """Test case for remove_namespace_frontend_mapping
169
+
170
+ """
171
+ pass
172
+
173
+ def test_remove_namespace_grant(self) -> None:
174
+ """Test case for remove_namespace_grant
175
+
176
+ """
177
+ pass
178
+
179
+ def test_remove_organization_member(self) -> None:
180
+ """Test case for remove_organization_member
181
+
182
+ """
183
+ pass
184
+
185
+ def test_update_frontend(self) -> None:
186
+ """Test case for update_frontend
187
+
188
+ """
189
+ pass
190
+
191
+ def test_update_namespace(self) -> None:
192
+ """Test case for update_namespace
193
+
194
+ """
195
+ pass
196
+
197
+
198
+ if __name__ == '__main__':
199
+ unittest.main()
test/test_agent_api.py ADDED
@@ -0,0 +1,85 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.api.agent_api import AgentApi
18
+
19
+
20
+ class TestAgentApi(unittest.TestCase):
21
+ """AgentApi unit test stubs"""
22
+
23
+ def setUp(self) -> None:
24
+ self.api = AgentApi()
25
+
26
+ def tearDown(self) -> None:
27
+ pass
28
+
29
+ def test_enroll(self) -> None:
30
+ """Test case for enroll
31
+
32
+ """
33
+ pass
34
+
35
+ def test_ping(self) -> None:
36
+ """Test case for ping
37
+
38
+ """
39
+ pass
40
+
41
+ def test_remote_access(self) -> None:
42
+ """Test case for remote_access
43
+
44
+ """
45
+ pass
46
+
47
+ def test_remote_share(self) -> None:
48
+ """Test case for remote_share
49
+
50
+ """
51
+ pass
52
+
53
+ def test_remote_status(self) -> None:
54
+ """Test case for remote_status
55
+
56
+ """
57
+ pass
58
+
59
+ def test_remote_unaccess(self) -> None:
60
+ """Test case for remote_unaccess
61
+
62
+ """
63
+ pass
64
+
65
+ def test_remote_unshare(self) -> None:
66
+ """Test case for remote_unshare
67
+
68
+ """
69
+ pass
70
+
71
+ def test_share_http_healthcheck(self) -> None:
72
+ """Test case for share_http_healthcheck
73
+
74
+ """
75
+ pass
76
+
77
+ def test_unenroll(self) -> None:
78
+ """Test case for unenroll
79
+
80
+ """
81
+ pass
82
+
83
+
84
+ if __name__ == '__main__':
85
+ unittest.main()
test/test_auth_user.py ADDED
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.auth_user import AuthUser
18
+
19
+ class TestAuthUser(unittest.TestCase):
20
+ """AuthUser unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> AuthUser:
29
+ """Test AuthUser
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `AuthUser`
34
+ """
35
+ model = AuthUser()
36
+ if include_optional:
37
+ return AuthUser(
38
+ username = '',
39
+ password = ''
40
+ )
41
+ else:
42
+ return AuthUser(
43
+ )
44
+ """
45
+
46
+ def testAuthUser(self):
47
+ """Test AuthUser"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -0,0 +1,53 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.change_password_request import ChangePasswordRequest
18
+
19
+ class TestChangePasswordRequest(unittest.TestCase):
20
+ """ChangePasswordRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ChangePasswordRequest:
29
+ """Test ChangePasswordRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ChangePasswordRequest`
34
+ """
35
+ model = ChangePasswordRequest()
36
+ if include_optional:
37
+ return ChangePasswordRequest(
38
+ email = '',
39
+ old_password = '',
40
+ new_password = ''
41
+ )
42
+ else:
43
+ return ChangePasswordRequest(
44
+ )
45
+ """
46
+
47
+ def testChangePasswordRequest(self):
48
+ """Test ChangePasswordRequest"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.client_version_check_request import ClientVersionCheckRequest
18
+
19
+ class TestClientVersionCheckRequest(unittest.TestCase):
20
+ """ClientVersionCheckRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> ClientVersionCheckRequest:
29
+ """Test ClientVersionCheckRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `ClientVersionCheckRequest`
34
+ """
35
+ model = ClientVersionCheckRequest()
36
+ if include_optional:
37
+ return ClientVersionCheckRequest(
38
+ client_version = ''
39
+ )
40
+ else:
41
+ return ClientVersionCheckRequest(
42
+ )
43
+ """
44
+
45
+ def testClientVersionCheckRequest(self):
46
+ """Test ClientVersionCheckRequest"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,56 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.configuration import Configuration
18
+
19
+ class TestConfiguration(unittest.TestCase):
20
+ """Configuration unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> Configuration:
29
+ """Test Configuration
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `Configuration`
34
+ """
35
+ model = Configuration()
36
+ if include_optional:
37
+ return Configuration(
38
+ version = '',
39
+ tou_link = '',
40
+ new_account_link = '',
41
+ invites_open = True,
42
+ requires_invite_token = True,
43
+ invite_token_contact = ''
44
+ )
45
+ else:
46
+ return Configuration(
47
+ )
48
+ """
49
+
50
+ def testConfiguration(self):
51
+ """Test Configuration"""
52
+ # inst_req_only = self.make_instance(include_optional=False)
53
+ # inst_req_and_optional = self.make_instance(include_optional=True)
54
+
55
+ if __name__ == '__main__':
56
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.create_frontend201_response import CreateFrontend201Response
18
+
19
+ class TestCreateFrontend201Response(unittest.TestCase):
20
+ """CreateFrontend201Response unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CreateFrontend201Response:
29
+ """Test CreateFrontend201Response
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CreateFrontend201Response`
34
+ """
35
+ model = CreateFrontend201Response()
36
+ if include_optional:
37
+ return CreateFrontend201Response(
38
+ frontend_token = ''
39
+ )
40
+ else:
41
+ return CreateFrontend201Response(
42
+ )
43
+ """
44
+
45
+ def testCreateFrontend201Response(self):
46
+ """Test CreateFrontend201Response"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()
@@ -0,0 +1,55 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.create_frontend_request import CreateFrontendRequest
18
+
19
+ class TestCreateFrontendRequest(unittest.TestCase):
20
+ """CreateFrontendRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CreateFrontendRequest:
29
+ """Test CreateFrontendRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CreateFrontendRequest`
34
+ """
35
+ model = CreateFrontendRequest()
36
+ if include_optional:
37
+ return CreateFrontendRequest(
38
+ z_id = '',
39
+ url_template = '',
40
+ public_name = '',
41
+ permission_mode = 'open',
42
+ dynamic = True
43
+ )
44
+ else:
45
+ return CreateFrontendRequest(
46
+ )
47
+ """
48
+
49
+ def testCreateFrontendRequest(self):
50
+ """Test CreateFrontendRequest"""
51
+ # inst_req_only = self.make_instance(include_optional=False)
52
+ # inst_req_and_optional = self.make_instance(include_optional=True)
53
+
54
+ if __name__ == '__main__':
55
+ unittest.main()
@@ -0,0 +1,52 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.create_identity201_response import CreateIdentity201Response
18
+
19
+ class TestCreateIdentity201Response(unittest.TestCase):
20
+ """CreateIdentity201Response unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CreateIdentity201Response:
29
+ """Test CreateIdentity201Response
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CreateIdentity201Response`
34
+ """
35
+ model = CreateIdentity201Response()
36
+ if include_optional:
37
+ return CreateIdentity201Response(
38
+ identity = '',
39
+ cfg = ''
40
+ )
41
+ else:
42
+ return CreateIdentity201Response(
43
+ )
44
+ """
45
+
46
+ def testCreateIdentity201Response(self):
47
+ """Test CreateIdentity201Response"""
48
+ # inst_req_only = self.make_instance(include_optional=False)
49
+ # inst_req_and_optional = self.make_instance(include_optional=True)
50
+
51
+ if __name__ == '__main__':
52
+ unittest.main()
@@ -0,0 +1,51 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ zrok
5
+
6
+ zrok client access
7
+
8
+ The version of the OpenAPI document: 2.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ import unittest
16
+
17
+ from zrok_api.models.create_identity_request import CreateIdentityRequest
18
+
19
+ class TestCreateIdentityRequest(unittest.TestCase):
20
+ """CreateIdentityRequest unit test stubs"""
21
+
22
+ def setUp(self):
23
+ pass
24
+
25
+ def tearDown(self):
26
+ pass
27
+
28
+ def make_instance(self, include_optional) -> CreateIdentityRequest:
29
+ """Test CreateIdentityRequest
30
+ include_optional is a boolean, when False only required
31
+ params are included, when True both required and
32
+ optional params are included """
33
+ # uncomment below to create an instance of `CreateIdentityRequest`
34
+ """
35
+ model = CreateIdentityRequest()
36
+ if include_optional:
37
+ return CreateIdentityRequest(
38
+ name = ''
39
+ )
40
+ else:
41
+ return CreateIdentityRequest(
42
+ )
43
+ """
44
+
45
+ def testCreateIdentityRequest(self):
46
+ """Test CreateIdentityRequest"""
47
+ # inst_req_only = self.make_instance(include_optional=False)
48
+ # inst_req_and_optional = self.make_instance(include_optional=True)
49
+
50
+ if __name__ == '__main__':
51
+ unittest.main()