Skip to contentSkip to conversation

python3-ujson: fix ptests

PATCH Superseded Trevor Gamblin 1 participant 1 message May 20, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-ujson: fix ptests

- Add python3-json and python3-pytest to ptest RDEPENDS
- Correct test file path from tests/tests.py to tests/test_ujson.py in run-ptest

---
 meta-python/recipes-devtools/python/python3-ujson/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb  | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-ujson/run-ptest +1 -1
index 1b3914647..b1539453a 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python3 tests/tests.py
+python3 tests/test_ujson.py
meta-python/recipes-devtools/python/python3-ujson_4.0.2.bb +2 -0
index d79206fe6..43f286d16 100644
@@ -20,6 +20,8 @@ RDEPENDS_${PN} += "\
 "
 
 RDEPENDS_${PN}-ptest += " \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-pytest \
     ${PYTHON_PN}-pytz \
 "
 
Signature · 1 line
2.31.1