tests: apply ruff format to CO2 assertions

This commit is contained in:
JayChickenK committed 2026-08-18 11:07:51 +02:00
1 parent 33a06b9ae8
commit 258cdc1647
2 files changed
+4 -7

No files matched your search

+1 -4
View File
@@ -92,10 +92,7 @@ def test_co2_reads_when_the_items_list_includes_the_type():
desc = next(e for e in air_purifier.AIR_QUALITY.entities if e.key == "co2")
assert desc.exists_fn({"x.com.samsung.da.items": []}, {}) is False
assert (
desc.exists_fn(
{"x.com.samsung.da.items": [{"x.com.samsung.da.type": "CO2"}]}, {}
)
is True
desc.exists_fn({"x.com.samsung.da.items": [{"x.com.samsung.da.type": "CO2"}]}, {}) is True
)