* Add tests for sensor platform * Add tests for switch platform * Add tests for button platform * Add tests for todo platform * Add tests for todo platform * Load json data fixtures * Update snapshot * Add fixtures * test move todo * parametrize todo tests, test drop notification * test todo exceptions * some minor improvements * test setup retry * Test update failed * Test coordinator rate limit * Test date utils * Reduce scope of PR * remove unused assert_mock_called_with function * update snapshot * Update tests/components/habitica/test_init.py --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
24 lines
490 B
JSON
24 lines
490 B
JSON
{
|
|
"data": {
|
|
"api_user": "test-api-user",
|
|
"profile": { "name": "test-user" },
|
|
"stats": {
|
|
"hp": 0,
|
|
"mp": 50.89999999999998,
|
|
"exp": 737,
|
|
"gp": 137.62587214609795,
|
|
"lvl": 38,
|
|
"class": "wizard",
|
|
"maxHealth": 50,
|
|
"maxMP": 166,
|
|
"toNextLevel": 880,
|
|
"points": 5
|
|
},
|
|
"preferences": {
|
|
"sleep": false,
|
|
"automaticAllocation": true
|
|
},
|
|
"needsCron": true,
|
|
"lastCron": "2024-09-21T22:01:55.586Z"
|
|
}
|
|
}
|