summaryrefslogtreecommitdiffstats
path: root/meta-python/conf
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-09 19:03:21 +0100
committerKhem Raj <raj.khem@gmail.com>2026-01-12 08:53:49 -0800
commit9291faa9192e70ff1f05d6551a562960bdc99630 (patch)
tree128b2c9a110ae9c3add2294b8baa5456a2a42f6e /meta-python/conf
parent0ccf384c90e1e32a548e795250398a31a65a9b5d (diff)
downloadmeta-openembedded-9291faa9192e70ff1f05d6551a562960bdc99630.tar.gz
python3-send2trash: add ptest support
The tests take less than a second to execute. The current source distribution is missing a test file, which I added with a patch. The problem is already solved by upstream just not tagged yet - the patch can be dropped with the next update. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2026-01-09T17:11 BEGIN: /usr/lib/python3-send2trash/ptest SKIP: tests/test_plat_win.py:tests/test_plat_win.py # SKIP Skipping windows-only tests PASS: tests/test_plat_other.py:test_trash PASS: tests/test_plat_other.py:test_multitrash PASS: tests/test_plat_other.py:test_trash_bytes PASS: tests/test_plat_other.py:test_trash_unicode PASS: tests/test_plat_other.py:test_trash_topdir PASS: tests/test_plat_other.py:test_trash_topdir_fallback PASS: tests/test_plat_other.py:test_trash_topdir_failure PASS: tests/test_plat_other.py:test_trash_symlink PASS: tests/test_script_main.py:test_trash PASS: tests/test_script_main.py:test_no_args ============================================================================ Testsuite summary DURATION: 1 END: /usr/lib/python3-send2trash/ptest 2026-01-09T17:11 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/conf')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index be548f62b6..8f40bb20a8 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -94,6 +94,7 @@ PTESTS_FAST_META_PYTHON = "\
94 python3-rich-toolkit \ 94 python3-rich-toolkit \
95 python3-schedule \ 95 python3-schedule \
96 python3-semver \ 96 python3-semver \
97 python3-send2trash \
97 python3-serpent \ 98 python3-serpent \
98 python3-service-identity \ 99 python3-service-identity \
99 python3-setproctitle \ 100 python3-setproctitle \