Skip to content

Commit

Permalink
Fix benign typo in test_config_entries.py (home-assistant#81789)
Browse files Browse the repository at this point in the history
* Fix typo in test_config_entries.py

* touch ups

* Update tests/test_config_entries.py

Co-authored-by: Martin Hjelmare <[email protected]>

Co-authored-by: Erik Montnemery <[email protected]>
Co-authored-by: Martin Hjelmare <[email protected]>
  • Loading branch information
3 people authored Nov 9, 2022
1 parent 84725f1 commit f9ff23a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_config_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -3316,17 +3316,17 @@ async def test_reauth(hass):

assert entry.entry_id != entry2.entry_id

# Check we can't start duplicate flows
# Check that we can't start duplicate reauth flows
entry.async_start_reauth(hass, {"extra_context": "some_extra_context"})
await hass.async_block_till_done()
assert len(hass.config_entries.flow.async_progress()) == 1

# Check we can't start duplicate when the context context is different
# Check that we can't start duplicate reauth flows when the context is different
entry.async_start_reauth(hass, {"diff": "diff"})
await hass.async_block_till_done()
assert len(hass.config_entries.flow.async_progress()) == 1

# Check we can start a reauth for a different entry
# Check that we can start a reauth flow for a different entry
entry2.async_start_reauth(hass, {"extra_context": "some_extra_context"})
await hass.async_block_till_done()
assert len(hass.config_entries.flow.async_progress()) == 2
Expand Down

0 comments on commit f9ff23a

Please sign in to comment.