1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
"""Test constants."""
import os
ACCESS_TOKEN = os.environ.get("AWAIR_ACCESS_TOKEN", "abcdefg")
AWAIR_GEN1_ID = 24947
MOCK_GEN1_DEVICE_ATTRS = {
"deviceId": AWAIR_GEN1_ID,
"deviceType": "awair",
"deviceUUID": f"awair_{AWAIR_GEN1_ID}",
}
MOCK_OMNI_DEVICE_ATTRS = {
"deviceId": 755,
"deviceType": "awair-omni",
"deviceUUID": "awair-omni_755",
}
MOCK_MINT_DEVICE_ATTRS = {
"deviceId": 3665,
"deviceType": "awair-mint",
"deviceUUID": "awair-mint_3665",
}
MOCK_GEN2_DEVICE_ATTRS = {
"deviceId": 5709,
"deviceType": "awair-r2",
"deviceUUID": "awair-r2_5709",
}
MOCK_GLOW_DEVICE_ATTRS = {
"deviceId": 1405,
"deviceType": "awair-glow",
"deviceUUID": "awair-glow_1405",
}
MOCK_USER_ATTRS = {"id": "32406"}
MOCK_ELEMENT_DEVICE_A_ATTRS = {
"deviceId": 6049,
"deviceType": "awair-element",
"deviceUUID": "awair-element_6049",
"fw_version": "1.1.5",
}
MOCK_ELEMENT_DEVICE_B_ATTRS = {
"deviceId": 5366,
"deviceType": "awair-element",
"deviceUUID": "awair-element_5366",
"fw_version": "1.2.8",
}
|