mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 16:30:22 +00:00
Assert the forced-on working-ccache case emits no warning at all
The 'Not decoded' escape hatch could only mask a regression; assert the captured records directly instead.
This commit is contained in:
@@ -1633,7 +1633,7 @@ def test_ccache_env_opt_in_with_working_binary(
|
||||
):
|
||||
env = _ccache_env()
|
||||
assert env["IDF_CCACHE_ENABLE"] == "1"
|
||||
assert "ccache" not in caplog.text.lower() or "Not decoded" in caplog.text
|
||||
assert not [r for r in caplog.records if r.levelno >= logging.WARNING]
|
||||
|
||||
|
||||
def test_ccache_env_opt_in_with_rejected_binary(
|
||||
|
||||
Reference in New Issue
Block a user