Skip to content

Commit

Permalink
bugfix test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bonnes committed Sep 10, 2024
1 parent 926e55e commit 8b4b995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_new/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def test_entities(
entry = hass.config_entries.async_entries(DOMAIN)[0]
assert entry.state == ConfigEntryState.LOADED

assert hass.states.async_all() == snapshot
assert hass.states.async_all(domain_filter=DOMAIN) == snapshot

Check failure on line 42 in tests/tests_new/test_init.py

View workflow job for this annotation

GitHub Actions / test (3.12)

test_entities[default] AssertionError: assert [+ received] == [- snapshot] Snapshot 'test_entities[default]' does not exist! + list([ + ])

Check failure on line 42 in tests/tests_new/test_init.py

View workflow job for this annotation

GitHub Actions / test (3.12)

test_entities[minimal] AssertionError: assert [+ received] == [- snapshot] Snapshot 'test_entities[minimal]' does not exist! + list([ + ])

Check failure on line 42 in tests/tests_new/test_init.py

View workflow job for this annotation

GitHub Actions / test (3.12)

test_entities[remotes] AssertionError: assert [+ received] == [- snapshot] Snapshot 'test_entities[remotes]' does not exist! + list([ + ])

finally: # Prevent non-useful errors in teardown
assert await hass.config_entries.async_unload(entry.entry_id)

0 comments on commit 8b4b995

Please sign in to comment.