| 1 |
# serializer version: 1 |
| 2 |
# name: test_getting_access_token[response0] |
| 3 |
''' |
| 4 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 5 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 6 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/alexa/access_token (200) |
| 7 |
''' |
| 8 |
# --- |
| 9 |
# name: test_problems_getting_access_token[AlexaApiError-getmockargs0-Failed to fetch: (500) ] |
| 10 |
''' |
| 11 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 12 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 13 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/alexa/access_token (500) |
| 14 |
''' |
| 15 |
# --- |
| 16 |
# name: test_problems_getting_access_token[AlexaApiError-getmockargs1-Failed to fetch: (429) ] |
| 17 |
''' |
| 18 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 19 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 20 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/alexa/access_token (429) |
| 21 |
''' |
| 22 |
# --- |
| 23 |
# name: test_problems_getting_access_token[AlexaApiError-getmockargs3-Timeout reached while calling API] |
| 24 |
''' |
| 25 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 26 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 27 |
''' |
| 28 |
# --- |
| 29 |
# name: test_problems_getting_access_token[AlexaApiError-getmockargs4-Failed to fetch: boom!] |
| 30 |
''' |
| 31 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 32 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 33 |
''' |
| 34 |
# --- |
| 35 |
# name: test_problems_getting_access_token[AlexaApiError-getmockargs5-Unexpected error while calling API: boom!] |
| 36 |
''' |
| 37 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 38 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 39 |
''' |
| 40 |
# --- |
| 41 |
# name: test_problems_getting_access_token[AlexaApiNeedsRelinkError-getmockargs2-RefreshTokenNotFound] |
| 42 |
''' |
| 43 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for alexa_access_token: https://api.example.com/alexa/access_token |
| 44 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/alexa/access_token |
| 45 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/alexa/access_token (400) RefreshTokenNotFound |
| 46 |
''' |
| 47 |
# --- |