-
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.
- Loading branch information
Showing
3 changed files
with
7 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,5 @@ pytest-cov | |
pytest-aiohttp | ||
pytest-asyncio | ||
pytest-unordered | ||
py==1.10.0 # Fixes pytest-sugar 0.9.5 | ||
py | ||
propcache |
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", | ||
|