1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00
Files
core/tests/components/pterodactyl/fixtures/utilization_data.json
elmurato 3eb0c8ddff Add Pterodactyl binary sensor tests (#142401)
* 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
2025-05-18 16:46:11 +02:00

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
}
}