1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Rewrite of not a == b occurances (#48132)

This commit is contained in:
Franck Nijhof
2021-03-20 01:27:04 +01:00
committed by GitHub
parent 26bceae99d
commit fb849b81b5
17 changed files with 31 additions and 31 deletions

View File

@@ -157,7 +157,7 @@ async def test_purge_method(
assert runs[1] == runs_before_purge[5]
assert runs[2] == runs_before_purge[6]
assert not ("EVENT_TEST_PURGE" in (event.event_type for event in events.all()))
assert "EVENT_TEST_PURGE" not in (event.event_type for event in events.all())
# run purge method - correct service data, with repack
service_data["repack"] = True