mirror of
https://github.com/home-assistant/core.git
synced 2026-04-25 19:29:04 +01:00
Azure DevOps build sensor attributes to new sensors (#114948)
* Setup for split * Adjust to allow for None * Create * Add missing * Fix datetime parsing in Azure DevOps sensor * Remove definition id and name These aren't needed and will never change * Add tests for each sensor * Add tests for edge cases * Rename translations * Update * Use base sensor descriptions * Remove * Drop status using this later for an event entity * Switch to timestamp * Switch to timestamp * Merge * Update snapshot * Improvements from @joostlek * Update homeassistant/components/azure_devops/sensor.py --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
@@ -22,7 +22,7 @@ async def test_load_unload_entry(
|
||||
|
||||
assert mock_devops_client.authorized
|
||||
assert mock_devops_client.authorize.call_count == 1
|
||||
assert mock_devops_client.get_builds.call_count == 2
|
||||
assert mock_devops_client.get_builds.call_count == 1
|
||||
|
||||
assert mock_config_entry.state is ConfigEntryState.LOADED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user