* Add support for snapshot testing * Use snapshots in Elgato diagnostics test * Use snapshots in Elgato sensor test * Fix flake8 warning * Slightly improve serialized output * Remove snapshot naming in elgato sensor tests * Improve snapshoting of via_device_id in device registry item * Update pylint typehints plugin for snapshot fixture typing * Use snapshots in Elgato configflow test * Use snapshots in Bluetooth repair issue tests
25 lines
554 B
Text
25 lines
554 B
Text
# serializer version: 1
|
|
# name: test_diagnostics
|
|
dict({
|
|
'info': dict({
|
|
'display_name': 'Frenck',
|
|
'features': list([
|
|
'lights',
|
|
]),
|
|
'firmware_build_number': 192,
|
|
'firmware_version': '1.0.3',
|
|
'hardware_board_type': 53,
|
|
'mac_address': None,
|
|
'product_name': 'Elgato Key Light',
|
|
'serial_number': 'CN11A1A00001',
|
|
'wifi': None,
|
|
}),
|
|
'state': dict({
|
|
'brightness': 21,
|
|
'hue': None,
|
|
'on': True,
|
|
'saturation': None,
|
|
'temperature': 297,
|
|
}),
|
|
})
|
|
# ---
|