hass-core/tests/components/switchbee/__init__.py
Franck Nijhof e50a531cd9
Code styling tweaks to the tests - Part 2 (#86662)
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00

9 lines
318 B
Python

"""Tests for the SwitchBee Smart Home integration."""
MOCK_FAILED_TO_LOGIN_MSG = (
"Central Unit replied with failure: {'status': 'LOGIN_FAILED'}"
)
MOCK_INVALID_TOKEN_MGS = (
"Error fetching switchbee data: Error communicating with API: data Request failed"
" due to INVALID_TOKEN, trying to re-login"
)