From 39e13efc0847bafdb1f176a5c2e0970170e683b0 Mon Sep 17 00:00:00 2001 From: alperak Date: Tue, 5 Mar 2024 13:12:29 +0300 Subject: python3-freezegun: add recipe and add ptest FreezeGun is a library that allows your Python tests to travel through time by mocking the datetime module. * Tested on qemux86-64 and qemuarm64 * Add ptest into PTESTS_FAST_META_PYTHON Ptest result: ============= qemuarm64: Testsuite summary TOTAL: 127 PASS: 121 SKIP: 6 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 20 END: /usr/lib/python3-freezegun/ptest 2024-03-05T06:53 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemux86-64: Testsuite summary TOTAL: 127 PASS: 121 SKIP: 6 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 21 END: /usr/lib/python3-freezegun/ptest 2024-03-05T06:57 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak Signed-off-by: Khem Raj --- meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-python/conf') diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 3b19152f4d..65a45c4b63 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -17,6 +17,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-click \ python3-dominate \ python3-execnet \ + python3-freezegun \ python3-geojson \ python3-gpiod \ python3-gunicorn \ -- cgit v1.2.3-54-g00ecf