mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
* Add binary sensor tests * Wait for background tasks as well in test_binary_sensor_update_failure * Fix module docstring * Use snapshot_platform, move constants to const.py, do not use snapshot for testing state updates * Use JSON fixtures * Use helper for loading JSON fixtures, remove unneeded mock in setup_integration * Move mocks to pytest markers where possible
13 lines
229 B
JSON
13 lines
229 B
JSON
{
|
|
"current_state": "running",
|
|
"is_suspended": false,
|
|
"resources": {
|
|
"memory_bytes": 1111,
|
|
"cpu_absolute": 22,
|
|
"disk_bytes": 3333,
|
|
"network_rx_bytes": 44,
|
|
"network_tx_bytes": 55,
|
|
"uptime": 6666
|
|
}
|
|
}
|