Re-auth prompt on BadCredentialsException #385
Annotations
6 errors
Test with pytest:
tests/pynest/test_client.py#L109
test_get_first_data_success
TypeError: FirstDataAPIResponse.__init__() missing 2 required positional arguments: 'weather_for_structures' and '_2fa_enabled'
|
Test with pytest:
tests/test_init.py#L42
test_access_token_failure_with_refresh_token
AssertionError: assert <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> is <ConfigEntryState.SETUP_RETRY: 'setup_retry'>
+ where <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> = <ConfigEntry entry_id=01JMDJ65PHGW56ZVFDPX4BS8TT version=1 domain=nest_protect title=Mock Title state=ConfigEntryState.MIGRATION_ERROR unique_id=None>.state
+ and <ConfigEntryState.SETUP_RETRY: 'setup_retry'> = ConfigEntryState.SETUP_RETRY
|
Test with pytest:
tests/test_init.py#L59
test_authenticate_failure_with_refresh_token
AssertionError: assert <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> is <ConfigEntryState.SETUP_RETRY: 'setup_retry'>
+ where <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> = <ConfigEntry entry_id=01JMDJ65SRFCVZ5TH5W2HPX7A7 version=1 domain=nest_protect title=Mock Title state=ConfigEntryState.MIGRATION_ERROR unique_id=None>.state
+ and <ConfigEntryState.SETUP_RETRY: 'setup_retry'> = ConfigEntryState.SETUP_RETRY
|
Test with pytest:
tests/test_init.py#L90
test_access_token_failure_with_cookies
AssertionError: assert <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> is <ConfigEntryState.SETUP_RETRY: 'setup_retry'>
+ where <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> = <ConfigEntry entry_id=01JMDJ65WW9CXSAFH6Q8FWMADX version=1 domain=nest_protect title=Mock Title state=ConfigEntryState.MIGRATION_ERROR unique_id=None>.state
+ and <ConfigEntryState.SETUP_RETRY: 'setup_retry'> = ConfigEntryState.SETUP_RETRY
|
Test with pytest:
tests/test_init.py#L107
test_authenticate_failure_with_cookies
AssertionError: assert <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> is <ConfigEntryState.SETUP_RETRY: 'setup_retry'>
+ where <ConfigEntryState.MIGRATION_ERROR: 'migration_error'> = <ConfigEntry entry_id=01JMDJ65ZWJB00TA7Y6KH1ZZGD version=1 domain=nest_protect title=Mock Title state=ConfigEntryState.MIGRATION_ERROR unique_id=None>.state
+ and <ConfigEntryState.SETUP_RETRY: 'setup_retry'> = ConfigEntryState.SETUP_RETRY
|
Test with pytest
Process completed with exit code 1.
|
Loading