mirror of
https://github.com/esphome/esphome.git
synced 2026-11-09 14:45:57 +00:00
[sx1509] Expect the pin wording in the duplicate-pin test
This commit is contained in:
1 file changed
+1
-1
@@ -73,5 +73,5 @@ def test_pin_must_be_unique(set_core_config: SetCoreConfigCallable) -> None:
|
||||
set_core_config(PlatformFramework.ESP8266_ARDUINO, full_config=full)
|
||||
for entry in entries[1:3]:
|
||||
sx1509_output.FINAL_VALIDATE_SCHEMA(entry)
|
||||
with pytest.raises(cv.Invalid, match="Channel '5' of 'a' is already used"):
|
||||
with pytest.raises(cv.Invalid, match="Pin '5' of 'a' is already used"):
|
||||
sx1509_output.FINAL_VALIDATE_SCHEMA(entries[3])
|
||||
Reference in new issue
Block a user