Package: lava Version: 2024.09-1.1 Severity: normal Tags: patch Dear Maintainer,
I found test_invalid_template in test_sync.py failing due to more detailed error messages now being returned. The test expected a simple output format, but the actual output now includes search paths. See the failed debci in https://ci.debian.net/packages/l/lava/unstable/amd64/ This patch modifies the test to use line-by-line assertions for the first three lines and a partial string match for the fourth line containing the template name, making it resilient to formatting changes while preserving the test's intent. Verified logs: autopkgtest [22:48:53]: test lava-coordinator: - - - - - - - - - - results - - - - - - - - - - lava-coordinator PASS autopkgtest [22:48:54]: @@@@@@@@@@@@@@@@@@@@ summary management PASS testsuite PASS lava-common PASS (superficial) lava-dispatcher-host PASS lava-coordinator PASS Thank you for considering this patch attached Lei
0001-Fix-test_invalid_template-to-handle-detailed-error-m.patch
Description: 0001-Fix-test_invalid_template-to-handle-detailed-error-m.patch