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:
J. Nick Koston
2026-08-25 15:16:54 -05:00
parent 95ea7b954c
commit da046a9886
+1 -1
View File
@@ -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(