mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 21:37:07 +00:00
Ensure config entry oauth2 tests add config entry before updating it (#110421)
This commit is contained in:
parent
d9c581e2c8
commit
e605b96d84
@ -709,6 +709,7 @@ async def test_oauth_session(
|
||||
},
|
||||
},
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
now = time.time()
|
||||
session = config_entry_oauth2_flow.OAuth2Session(hass, config_entry, local_impl)
|
||||
@ -755,6 +756,7 @@ async def test_oauth_session_with_clock_slightly_out_of_sync(
|
||||
},
|
||||
},
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
now = time.time()
|
||||
session = config_entry_oauth2_flow.OAuth2Session(hass, config_entry, local_impl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user