mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 10:56:43 +00:00
Address review: unknown platforms raise, the filter pin asserts equality
An unknown or misspelled platform name yielded an empty set - the file would be filtered out of every build (link failure at the end of a long compile) and the subset guard passed vacuously.
This commit is contained in:
@@ -189,7 +189,7 @@ def test_hub_source_filter_covers_every_hub_platform() -> None:
|
||||
hub_frameworks = bluetooth_connection.SOURCE_FILE_FRAMEWORKS[
|
||||
"bluetooth_connection_hub.cpp"
|
||||
]
|
||||
assert expected <= hub_frameworks
|
||||
assert expected == hub_frameworks
|
||||
|
||||
|
||||
def test_bluetooth_connection_auto_load_covers_its_includes() -> None:
|
||||
|
||||
Reference in New Issue
Block a user