Change lock state to an enum #213737
ci.yaml
on: pull_request
Collect information & changes data
16s
Matrix: Prepare dependencies
Matrix: lint-hadolint
Check hassfest
45s
Check all requirements
20s
Check mypy
1m 49s
Audit licenses
0s
Check pylint
7m 41s
Check pylint on tests
5m 48s
Check ruff-format
15s
Check ruff
16s
Check other linters
1m 2s
Matrix: pytest-full
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Upload test coverage to Codecov (partial suite)
0s
Upload test coverage to Codecov (full suite)
0s
Annotations
13 errors
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config0-closed-locked]
AssertionError: assert 'locked' is <LockState.LOCKED: 'locked'>
+ where 'locked' = <state lock.test=locked; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:39.551321-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config1-closing-locking]
AssertionError: assert 'locking' is <LockState.LOCKING: 'locking'>
+ where 'locking' = <state lock.test=locking; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:39.670826-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config2-open-open]
AssertionError: assert 'open' is <LockState.OPEN: 'open'>
+ where 'open' = <state lock.test=open; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:39.781074-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config3-opening-opening]
AssertionError: assert 'opening' is <LockState.OPENING: 'opening'>
+ where 'opening' = <state lock.test=opening; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:39.890985-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config4-unlocked-unlocked]
AssertionError: assert 'unlocked' is <LockState.UNLOCKED: 'unlocked'>
+ where 'unlocked' = <state lock.test=unlocked; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.001312-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L112
test_controlling_state_via_topic[hass_config5-unlocking-unlocking]
AssertionError: assert 'unlocking' is <LockState.UNLOCKING: 'unlocking'>
+ where 'unlocking' = <state lock.test=unlocking; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.118835-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L143
test_controlling_non_default_state_via_topic[hass_config0-closed-locked]
AssertionError: assert 'locked' is <LockState.LOCKED: 'locked'>
+ where 'locked' = <state lock.test=locked; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.234358-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L143
test_controlling_non_default_state_via_topic[hass_config1-closing-locking]
AssertionError: assert 'locking' is <LockState.LOCKING: 'locking'>
+ where 'locking' = <state lock.test=locking; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.408867-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L143
test_controlling_non_default_state_via_topic[hass_config2-open-open]
AssertionError: assert 'open' is <LockState.OPEN: 'open'>
+ where 'open' = <state lock.test=open; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.531966-07:00>.state
|
Run tests Python 3.12 (1):
tests/components/mqtt/test_lock.py#L143
test_controlling_non_default_state_via_topic[hass_config3-opening-opening]
AssertionError: assert 'opening' is <LockState.OPENING: 'opening'>
+ where 'opening' = <state lock.test=opening; friendly_name=test, supported_features=0 @ 2024-09-21T03:54:40.641684-07:00>.state
|
Run tests Python 3.12 (8):
tests/components/insteon/test_lock.py#L69
test_lock_lock
AssertionError: assert 'unlocked' is <LockState.UNLOCKED: 'unlocked'>
+ where 'unlocked' = <state lock.device_55_55_55_55_55_55=unlocked; insteon_address=55.55.55, insteon_group=1, friendly_name=Device 55.55.55 55.55.55, supported_features=0 @ 2024-09-21T04:01:27.839988-07:00>.state
+ and <LockState.UNLOCKED: 'unlocked'> = LockState.UNLOCKED
|
Run tests Python 3.12 (8):
tests/components/insteon/test_lock.py#L98
test_lock_unlock
AssertionError: assert 'locked' is <LockState.LOCKED: 'locked'>
+ where 'locked' = <state lock.device_55_55_55_55_55_55=locked; insteon_address=55.55.55, insteon_group=1, friendly_name=Device 55.55.55 55.55.55, supported_features=0 @ 2024-09-21T04:01:27.950225-07:00>.state
+ and <LockState.LOCKED: 'locked'> = LockState.LOCKED
|
Run tests Python 3.12 (8)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-3.12-10
|
865 KB |
|
coverage-3.12-2
|
864 KB |
|
coverage-3.12-3
|
861 KB |
|
coverage-3.12-4
|
868 KB |
|
coverage-3.12-5
|
867 KB |
|
coverage-3.12-6
|
868 KB |
|
coverage-3.12-7
|
867 KB |
|
coverage-3.12-9
|
870 KB |
|
coverage-3.12-mariadb-10.10.3
|
16.2 KB |
|
coverage-3.12-mariadb-10.11.2
|
16.2 KB |
|
coverage-3.12-mariadb-10.3.32
|
16.2 KB |
|
coverage-3.12-mariadb-10.6.10
|
16.2 KB |
|
coverage-3.12-mysql-8.0.32
|
16.2 KB |
|
coverage-3.12-postgres-12.14
|
16.2 KB |
|
coverage-3.12-postgres-15.2
|
16.2 KB |
|
pytest-213737-3.12-1
|
8.79 KB |
|
pytest-213737-3.12-10
|
1003 Bytes |
|
pytest-213737-3.12-2
|
1.33 KB |
|
pytest-213737-3.12-3
|
1.07 KB |
|
pytest-213737-3.12-4
|
1.96 KB |
|
pytest-213737-3.12-5
|
1.23 KB |
|
pytest-213737-3.12-6
|
1.71 KB |
|
pytest-213737-3.12-7
|
1.06 KB |
|
pytest-213737-3.12-8
|
3.34 KB |
|
pytest-213737-3.12-9
|
1.04 KB |
|
pytest-213737-3.12-mariadb-10.10.3
|
2.64 KB |
|
pytest-213737-3.12-mariadb-10.11.2
|
2.64 KB |
|
pytest-213737-3.12-mariadb-10.3.32
|
2.62 KB |
|
pytest-213737-3.12-mariadb-10.6.10
|
2.64 KB |
|
pytest-213737-3.12-mysql-8.0.32
|
2.61 KB |
|
pytest-213737-3.12-postgres-12.14
|
2.29 KB |
|
pytest-213737-3.12-postgres-15.2
|
2.29 KB |
|
pytest_buckets
|
5.75 KB |
|