python3-filelock: Install docs/how-to.rst for ptests

test_documented_cache_lock_name reads docs/how-to.rst relative to the
tests dir and fails with FileNotFoundError when it is not installed.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-10-23 08:53:59 -07:00
1 parent 47e9b831af
commit b2f9904639
1 file changed
+2
@@ -40,4 +40,6 @@ RDEPENDS:${PN}-ptest += " \
do_install_ptest:append() {
cp -rf ${S}/tasks ${D}${PTEST_PATH}/
cp -f ${S}/pyproject.toml ${D}${PTEST_PATH}/
# test_documented_cache_lock_name checks snippets in docs/how-to.rst
install -Dm 0644 ${S}/docs/how-to.rst ${D}${PTEST_PATH}/docs/how-to.rst
}