-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump pybirdbuddy [fixes #89] * Bump HA requirements * Bump test dependencies * Fix 3.11 dependencies, maybe? * Stop testing 3.11 * Update tests
- Loading branch information
Showing
6 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,8 @@ async def test_setup_entry(hass: HomeAssistant): | |
"email": "[email protected]", | ||
"password": "test-password", | ||
} | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config) | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config, state=ConfigEntryState.NOT_LOADED) | ||
config_entry.add_to_hass(hass) | ||
config_entry.state = ConfigEntryState.NOT_LOADED | ||
|
||
with patch( | ||
"birdbuddy.client.BirdBuddy.refresh", | ||
|
@@ -44,9 +43,8 @@ async def test_setup_entry_no_feeders(hass: HomeAssistant): | |
"email": "[email protected]", | ||
"password": "test-password", | ||
} | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config) | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config, state=ConfigEntryState.NOT_LOADED) | ||
config_entry.add_to_hass(hass) | ||
config_entry.state = ConfigEntryState.NOT_LOADED | ||
|
||
with patch( | ||
"birdbuddy.client.BirdBuddy.refresh", | ||
|
@@ -64,9 +62,8 @@ async def test_setup_entry_refresh_fails(hass: HomeAssistant): | |
"email": "[email protected]", | ||
"password": "test-password", | ||
} | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config) | ||
config_entry = MockConfigEntry(domain="birdbuddy", data=config, state=ConfigEntryState.NOT_LOADED) | ||
config_entry.add_to_hass(hass) | ||
config_entry.state = ConfigEntryState.NOT_LOADED | ||
|
||
with patch( | ||
"birdbuddy.client.BirdBuddy.refresh", | ||
|