Debian Codegraph @

tests/__snapshots__/test_instance_api.ambr

raw
1 # serializer version: 1
2 # name: test_cleanup_dns_challenge_record_endpoint_problems[429-error]
3 '''
4 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
5 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
6 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_cleanup (429)
7 '''
8 # ---
9 # name: test_cleanup_dns_challenge_record_endpoint_problems[500-error]
10 '''
11 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
12 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
13 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_cleanup (500)
14 '''
15 # ---
16 # name: test_cleanup_dns_challenge_record_endpoint_problems[client-error]
17 '''
18 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
19 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
20 '''
21 # ---
22 # name: test_cleanup_dns_challenge_record_endpoint_problems[timeout]
23 '''
24 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
25 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
26 '''
27 # ---
28 # name: test_cleanup_dns_challenge_record_endpoint_problems[unexpected-error]
29 '''
30 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
31 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
32 '''
33 # ---
34 # name: test_cleanup_dns_challenge_record_endpoint_success
35 '''
36 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_remove: https://api.example.com/instance/dns_challenge_cleanup
37 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_cleanup
38 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_cleanup (200)
39 '''
40 # ---
41 # name: test_connection_endpoint_problems[429-error]
42 '''
43 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
44 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
45 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
46 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/connection (429)
47 '''
48 # ---
49 # name: test_connection_endpoint_problems[500-error]
50 '''
51 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
52 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
53 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
54 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/connection (500)
55 '''
56 # ---
57 # name: test_connection_endpoint_problems[client-error]
58 '''
59 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
60 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
61 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
62 '''
63 # ---
64 # name: test_connection_endpoint_problems[timeout]
65 '''
66 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
67 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
68 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
69 '''
70 # ---
71 # name: test_connection_endpoint_problems[unexpected-error]
72 '''
73 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
74 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
75 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
76 '''
77 # ---
78 # name: test_connection_endpoint_success
79 '''
80 [DEBUG] hass_nabucasa.instance_api: Getting instance connection details
81 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for instance_connection: https://api.example.com/instance/connection
82 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/connection
83 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/connection (200)
84 '''
85 # ---
86 # name: test_create_dns_challenge_record_endpoint_problems[429-error]
87 '''
88 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
89 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
90 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_txt (429)
91 '''
92 # ---
93 # name: test_create_dns_challenge_record_endpoint_problems[500-error]
94 '''
95 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
96 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
97 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_txt (500)
98 '''
99 # ---
100 # name: test_create_dns_challenge_record_endpoint_problems[client-error]
101 '''
102 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
103 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
104 '''
105 # ---
106 # name: test_create_dns_challenge_record_endpoint_problems[timeout]
107 '''
108 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
109 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
110 '''
111 # ---
112 # name: test_create_dns_challenge_record_endpoint_problems[unexpected-error]
113 '''
114 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
115 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
116 '''
117 # ---
118 # name: test_create_dns_challenge_record_endpoint_success
119 '''
120 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_dns_challenge_set: https://api.example.com/instance/dns_challenge_txt
121 [DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/instance/dns_challenge_txt
122 [DEBUG] hass_nabucasa.api: Response for post from api.example.com/instance/dns_challenge_txt (200)
123 '''
124 # ---
125 # name: test_ping_targets_endpoint_problems[500-error]
126 '''
127 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
128 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
129 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (500)
130 '''
131 # ---
132 # name: test_ping_targets_endpoint_problems[client-error]
133 '''
134 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
135 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
136 '''
137 # ---
138 # name: test_ping_targets_endpoint_problems[timeout]
139 '''
140 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
141 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
142 '''
143 # ---
144 # name: test_ping_targets_endpoint_success
145 '''
146 [INFO] hass_nabucasa.service_discovery: Using fallback action URL for remote_access_ping_targets: https://api.example.com/instance/remote_ping_targets
147 [DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/instance/remote_ping_targets
148 [DEBUG] hass_nabucasa.api: Response for get from api.example.com/instance/remote_ping_targets (200)
149 '''
150 # ---