| 1 |
# serializer version: 1 |
| 2 |
# name: test_getting_connection_details[response0] |
| 3 |
''' |
| 4 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 5 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 6 |
[DEBUG] hass_nabucasa.api: Response for get from api.example.com/account/payments/subscription_info (200) |
| 7 |
[DEBUG] hass_nabucasa.payments_api: Found disconnected account with valid subscription, connecting |
| 8 |
''' |
| 9 |
# --- |
| 10 |
# name: test_migrate_paypal_agreement_success[response0] |
| 11 |
''' |
| 12 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 13 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 14 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/account/payments/migrate_paypal_agreement (200) |
| 15 |
''' |
| 16 |
# --- |
| 17 |
# name: test_migrate_paypal_agreement_success[response1] |
| 18 |
''' |
| 19 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 20 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 21 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/account/payments/migrate_paypal_agreement (200) |
| 22 |
''' |
| 23 |
# --- |
| 24 |
# name: test_problems_getting_connection_details[PaymentsApiError-getmockargs0-Failed to parse API response] |
| 25 |
''' |
| 26 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 27 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 28 |
[DEBUG] hass_nabucasa.api: Response for get from api.example.com/account/payments/subscription_info (500) |
| 29 |
''' |
| 30 |
# --- |
| 31 |
# name: test_problems_getting_connection_details[PaymentsApiError-getmockargs1-Failed to parse API response] |
| 32 |
''' |
| 33 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 34 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 35 |
[DEBUG] hass_nabucasa.api: Response for get from api.example.com/account/payments/subscription_info (429) |
| 36 |
''' |
| 37 |
# --- |
| 38 |
# name: test_problems_getting_connection_details[PaymentsApiError-getmockargs2-Timeout reached while calling API] |
| 39 |
''' |
| 40 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 41 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 42 |
''' |
| 43 |
# --- |
| 44 |
# name: test_problems_getting_connection_details[PaymentsApiError-getmockargs3-Failed to fetch: boom!] |
| 45 |
''' |
| 46 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 47 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 48 |
''' |
| 49 |
# --- |
| 50 |
# name: test_problems_getting_connection_details[PaymentsApiError-getmockargs4-Unexpected error while calling API: boom!] |
| 51 |
''' |
| 52 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 53 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 54 |
''' |
| 55 |
# --- |
| 56 |
# name: test_problems_migrating_paypal_agreement[PaymentsApiError-postmockargs0-Failed to fetch: (500)] |
| 57 |
''' |
| 58 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 59 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 60 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/account/payments/migrate_paypal_agreement (500) |
| 61 |
''' |
| 62 |
# --- |
| 63 |
# name: test_problems_migrating_paypal_agreement[PaymentsApiError-postmockargs1-Failed to fetch: (429)] |
| 64 |
''' |
| 65 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 66 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 67 |
[DEBUG] hass_nabucasa.api: Response for post from api.example.com/account/payments/migrate_paypal_agreement (429) |
| 68 |
''' |
| 69 |
# --- |
| 70 |
# name: test_problems_migrating_paypal_agreement[PaymentsApiError-postmockargs2-Timeout reached while calling API] |
| 71 |
''' |
| 72 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 73 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 74 |
''' |
| 75 |
# --- |
| 76 |
# name: test_problems_migrating_paypal_agreement[PaymentsApiError-postmockargs3-Failed to fetch: boom!] |
| 77 |
''' |
| 78 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 79 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 80 |
''' |
| 81 |
# --- |
| 82 |
# name: test_problems_migrating_paypal_agreement[PaymentsApiError-postmockargs4-Unexpected error while calling API: boom!] |
| 83 |
''' |
| 84 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_migrate_paypal: https://api.example.com/account/payments/migrate_paypal_agreement |
| 85 |
[DEBUG] hass_nabucasa.api: Sending POST request to api.example.com/account/payments/migrate_paypal_agreement |
| 86 |
''' |
| 87 |
# --- |
| 88 |
# name: test_token_refresh_debug_log |
| 89 |
''' |
| 90 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 91 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 92 |
[DEBUG] hass_nabucasa.api: Response for get from api.example.com/account/payments/subscription_info (200) |
| 93 |
[DEBUG] hass_nabucasa.payments_api: Found disconnected account with valid subscription, connecting |
| 94 |
''' |
| 95 |
# --- |
| 96 |
# name: test_trigger_async_renew_access_token |
| 97 |
''' |
| 98 |
[INFO] hass_nabucasa.service_discovery: Using fallback action URL for subscription_info: https://api.example.com/account/payments/subscription_info |
| 99 |
[DEBUG] hass_nabucasa.api: Sending GET request to api.example.com/account/payments/subscription_info |
| 100 |
[DEBUG] hass_nabucasa.api: Response for get from api.example.com/account/payments/subscription_info (200) |
| 101 |
[DEBUG] hass_nabucasa.payments_api: Found disconnected account with valid subscription, connecting |
| 102 |
''' |
| 103 |
# --- |