There was an error while loading. Please reload this page.
1 parent 8b6d9cd commit 686ab2bCopy full SHA for 686ab2b
1 file changed
tests/devices/traits/v1/fixtures.py
@@ -125,7 +125,8 @@ async def discover_features_fixture(
125
"""Fixture to handle device feature discovery."""
126
assert device.v1_properties
127
128
- new_feature_info_str = device_info.new_feature_set or str(mock_data.APP_GET_INIT_STATUS["new_feature_info_str"])
+ new_feature_info_str = device_info.new_feature_set
129
+ assert new_feature_info_str is not None, f"Device {device_info.name} is missing new_feature_set"
130
new_feature_info = int(new_feature_info_str, 16)
131
132
mock_rpc_channel.send_command.side_effect = [
0 commit comments