Debian Codegraph @

tests/__snapshots__/test_remote.ambr

raw
1 # serializer version: 1
2 # name: test_acme_client_create_client_jws_errors[json_error0-True]
3 '''
4 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
5 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
6 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
7 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
8 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
9 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
10 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
11 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
12 [DEBUG] hass_nabucasa.remote: Certificate status: loading
13 [DEBUG] hass_nabucasa.remote: Certificate status: validating
14 [DEBUG] hass_nabucasa.remote: Certificate status: expired
15 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
16 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for acme_directory: https://acme.example.com/directory
17 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
18 '''
19 # ---
20 # name: test_acme_client_create_client_jws_errors[json_error1-True]
21 '''
22 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
23 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
24 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
25 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
26 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
27 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
28 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
29 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
30 [DEBUG] hass_nabucasa.remote: Certificate status: loading
31 [DEBUG] hass_nabucasa.remote: Certificate status: validating
32 [DEBUG] hass_nabucasa.remote: Certificate status: expired
33 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
34 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for acme_directory: https://acme.example.com/directory
35 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
36 '''
37 # ---
38 # name: test_acme_client_create_client_jws_errors[json_error2-True]
39 '''
40 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
41 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
42 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
43 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
44 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
45 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
46 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
47 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
48 [DEBUG] hass_nabucasa.remote: Certificate status: loading
49 [DEBUG] hass_nabucasa.remote: Certificate status: validating
50 [DEBUG] hass_nabucasa.remote: Certificate status: expired
51 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
52 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for acme_directory: https://acme.example.com/directory
53 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
54 '''
55 # ---
56 # name: test_acme_client_create_client_jws_errors[json_error3-False]
57 '''
58 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
59 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
60 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
61 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
62 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
63 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
64 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
65 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
66 [DEBUG] hass_nabucasa.remote: Certificate status: loading
67 [DEBUG] hass_nabucasa.remote: Certificate status: validating
68 [DEBUG] hass_nabucasa.remote: Certificate status: expired
69 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
70 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for acme_directory: https://acme.example.com/directory
71 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't connect to ACME server: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Some other malformed reason
72 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
73 '''
74 # ---
75 # name: test_acme_client_create_client_jws_errors[json_error4-False]
76 '''
77 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
78 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
79 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
80 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
81 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
82 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
83 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
84 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
85 [DEBUG] hass_nabucasa.remote: Certificate status: loading
86 [DEBUG] hass_nabucasa.remote: Certificate status: validating
87 [DEBUG] hass_nabucasa.remote: Certificate status: expired
88 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
89 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for acme_directory: https://acme.example.com/directory
90 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't connect to ACME server: about:blank :: Boom
91 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
92 '''
93 # ---
94 # name: test_acme_client_new_order_errors[json_error0-True]
95 '''
96 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
97 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
98 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
99 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
100 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
101 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
102 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
103 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
104 [DEBUG] hass_nabucasa.remote: Certificate status: loading
105 [DEBUG] hass_nabucasa.remote: Certificate status: validating
106 [DEBUG] hass_nabucasa.remote: Certificate status: expired
107 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
108 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
109 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
110 '''
111 # ---
112 # name: test_acme_client_new_order_errors[json_error1-True]
113 '''
114 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
115 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
116 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
117 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
118 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
119 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
120 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
121 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
122 [DEBUG] hass_nabucasa.remote: Certificate status: loading
123 [DEBUG] hass_nabucasa.remote: Certificate status: validating
124 [DEBUG] hass_nabucasa.remote: Certificate status: expired
125 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
126 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
127 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
128 '''
129 # ---
130 # name: test_acme_client_new_order_errors[json_error2-True]
131 '''
132 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
133 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
134 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
135 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
136 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
137 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
138 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
139 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
140 [DEBUG] hass_nabucasa.remote: Certificate status: loading
141 [DEBUG] hass_nabucasa.remote: Certificate status: validating
142 [DEBUG] hass_nabucasa.remote: Certificate status: expired
143 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
144 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
145 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
146 '''
147 # ---
148 # name: test_acme_client_new_order_errors[json_error3-False]
149 '''
150 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
151 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
152 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
153 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
154 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
155 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
156 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
157 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
158 [DEBUG] hass_nabucasa.remote: Certificate status: loading
159 [DEBUG] hass_nabucasa.remote: Certificate status: validating
160 [DEBUG] hass_nabucasa.remote: Certificate status: expired
161 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
162 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
163 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't order a new ACME challenge: urn:ietf:params:acme:error:malformed :: The request message was malformed :: Some other malformed reason
164 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
165 '''
166 # ---
167 # name: test_acme_client_new_order_errors[json_error4-False]
168 '''
169 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
170 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
171 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
172 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
173 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
174 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
175 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
176 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
177 [DEBUG] hass_nabucasa.remote: Certificate status: loading
178 [DEBUG] hass_nabucasa.remote: Certificate status: validating
179 [DEBUG] hass_nabucasa.remote: Certificate status: expired
180 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
181 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
182 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't order a new ACME challenge: about:blank :: Boom
183 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
184 '''
185 # ---
186 # name: test_certificate_network_error_handling[RequestException-Connection timeout]
187 '''
188 [DEBUG] hass_nabucasa.remote: Initializing backend
189 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
190 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
191 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
192 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
193 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
194 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
195 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
196 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
197 [DEBUG] hass_nabucasa.remote: Certificate status: loading
198 [DEBUG] hass_nabucasa.remote: Certificate status: validating
199 [DEBUG] hass_nabucasa.remote: Certificate status: no_certificate
200 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
201 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
202 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't order a new ACME challenge: Connection timeout
203 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
204 '''
205 # ---
206 # name: test_certificate_network_error_handling[gaierror-DNS resolution failed]
207 '''
208 [DEBUG] hass_nabucasa.remote: Initializing backend
209 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
210 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
211 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
212 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
213 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
214 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
215 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
216 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
217 [DEBUG] hass_nabucasa.remote: Certificate status: loading
218 [DEBUG] hass_nabucasa.remote: Certificate status: validating
219 [DEBUG] hass_nabucasa.remote: Certificate status: no_certificate
220 [DEBUG] hass_nabucasa.remote: Certificate status: initial_generating
221 [INFO] hass_nabucasa.acme: Initialize challenge for a new ACME certificate
222 [WARNING] hass_nabucasa.remote: Failed to issue certificate for test.dui.nabu.casa: Can't order a new ACME challenge: DNS resolution failed
223 [DEBUG] hass_nabucasa.remote: Certificate status: initial_cert_error
224 '''
225 # ---
226 # name: test_context_error_handling[Boom-False]
227 '''
228 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
229 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
230 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
231 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
232 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
233 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
234 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
235 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
236 [DEBUG] hass_nabucasa.remote: Certificate status: loading
237 [DEBUG] hass_nabucasa.remote: Certificate status: validating
238 [DEBUG] hass_nabucasa.remote: Certificate status: initial_loaded
239 [DEBUG] hass_nabucasa.remote: Certificate status: ready
240 [DEBUG] hass_nabucasa.remote: Certificate status: ssl_context_error
241 '''
242 # ---
243 # name: test_context_error_handling[KEY_VALUES_MISMATCH-True]
244 '''
245 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
246 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
247 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
248 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
249 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
250 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
251 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
252 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
253 [DEBUG] hass_nabucasa.remote: Certificate status: loading
254 [DEBUG] hass_nabucasa.remote: Certificate status: validating
255 [DEBUG] hass_nabucasa.remote: Certificate status: initial_loaded
256 [DEBUG] hass_nabucasa.remote: Certificate status: ready
257 [DEBUG] hass_nabucasa.remote: Certificate status: ssl_context_error
258 '''
259 # ---
260 # name: test_load_connect_forbidden
261 '''
262 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
263 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
264 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
265 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
266 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
267 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
268 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
269 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
270 [DEBUG] hass_nabucasa.remote: Certificate status: loading
271 [DEBUG] hass_nabucasa.remote: Certificate status: validating
272 [DEBUG] hass_nabucasa.remote: Certificate status: initial_loaded
273 [DEBUG] hass_nabucasa.remote: Certificate status: ready
274 [DEBUG] hass_nabucasa.remote: Initializing SniTun
275 [DEBUG] hass_nabucasa.remote: Starting SniTun
276 [DEBUG] hass_nabucasa.remote: Connecting remote backend: True
277 [DEBUG] hass_nabucasa.remote: Refresh snitun token
278 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_snitun_token: https://api.example.com/instance/snitun_token
279 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/snitun_token
280 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/snitun_token (403) lorem_ipsum
281 [ERROR] hass_nabucasa.remote: Remote connection is not allowed lorem_ipsum
282 '''
283 # ---
284 # name: test_load_connect_insecure
285 '''
286 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
287 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
288 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
289 [DEBUG] hass_nabucasa.remote: No ping targets returned, skipping ping
290 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_register: https://api.example.com/instance/register
291 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/register
292 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/register (200)
293 [DEBUG] hass_nabucasa.remote: Retrieved instance data: {'domain': 'test.dui.nabu.casa', 'email': '[email protected]', 'server': 'rest-remote.nabu.casa'}
294 [DEBUG] hass_nabucasa.remote: Certificate status: loading
295 [DEBUG] hass_nabucasa.remote: Certificate status: validating
296 [DEBUG] hass_nabucasa.remote: Certificate status: initial_loaded
297 [DEBUG] hass_nabucasa.remote: Certificate status: ready
298 [DEBUG] hass_nabucasa.remote: Initializing SniTun
299 [DEBUG] hass_nabucasa.remote: Starting SniTun
300 [DEBUG] hass_nabucasa.remote: Connecting remote backend: True
301 [DEBUG] hass_nabucasa.remote: Refresh snitun token
302 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_snitun_token: https://api.example.com/instance/snitun_token
303 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/snitun_token
304 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/snitun_token (409)
305 '''
306 # ---
307 # name: test_recreating_old_certificate_with_bad_dns_config
308 list([
309 dict({
310 'identifier': 'reset_bad_custom_domain_configuration_1538740800',
311 'placeholders': dict({
312 'custom_domains': 'example.com',
313 }),
314 'severity': 'error',
315 'translation_key': 'reset_bad_custom_domain_configuration',
316 }),
317 ])
318 # ---
319 # name: test_regeneration_without_warning_for_good_dns_config
320 list([
321 ])
322 # ---
323 # name: test_warn_about_bad_dns_config_for_old_certificate[exception0]
324 list([
325 dict({
326 'identifier': 'warn_bad_custom_domain_configuration_1539345600',
327 'placeholders': dict({
328 'custom_domains': 'example.com',
329 }),
330 'severity': 'warning',
331 'translation_key': 'warn_bad_custom_domain_configuration',
332 }),
333 ])
334 # ---
335 # name: test_warn_about_bad_dns_config_for_old_certificate[exception1]
336 list([
337 dict({
338 'identifier': 'warn_bad_custom_domain_configuration_1539345600',
339 'placeholders': dict({
340 'custom_domains': 'example.com',
341 }),
342 'severity': 'warning',
343 'translation_key': 'warn_bad_custom_domain_configuration',
344 }),
345 ])
346 # ---
347 # name: test_warn_about_bad_dns_config_for_old_certificate[exception2]
348 list([
349 dict({
350 'identifier': 'warn_bad_custom_domain_configuration_1539345600',
351 'placeholders': dict({
352 'custom_domains': 'example.com',
353 }),
354 'severity': 'warning',
355 'translation_key': 'warn_bad_custom_domain_configuration',
356 }),
357 ])
358 # ---