fix: KConfig test output format

This commit is contained in:
Daniel Paul
2026-09-02 13:19:22 +02:00
parent 5e6f53cdb3
commit 700bd3dd8d

View File

@@ -152,10 +152,11 @@ class TestOptionalDependencyWithKconfig:
res = idf_py('reconfigure', check=False)
assert res.returncode != 0
assert (
expected = (
f'OF_COURSE_NO_ONE_USE_FOO, introduced by example/cmp, '
f'defined in {str(test_app_copy / "main" / "idf_component.yml")}' in res.stderr
f'defined in {str(test_app_copy / "main" / "idf_component.yml")}'
)
assert ''.join(expected.split()) in ''.join(res.stderr.split())
assert 'Missing required kconfig option after retry.' in res.stderr
def test_kconfig_in_transitive_dependency(self, idf_py: IdfPyFunc, test_app_copy: Path) -> None: