diff --git a/meta-python/recipes-devtools/python/python3-glances/run-ptest b/meta-python/recipes-devtools/python/python3-glances/run-ptest
new file mode 100644
index 0000000000..f56ca03dca
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-glances/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest tests/test_core.py
diff --git a/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb b/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb
index 6acd8429b3..9b8e529c87 100644
--- a/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb
+++ b/meta-python/recipes-devtools/python/python3-glances_4.3.2.bb
@@ -7,7 +7,11 @@ SRC_URI[sha256sum] = "736faa7faea3bcd58afffd6443974b4ed4b498627a71ce5d6c9640b7b5
 
 PYPI_PACKAGE = "glances"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+SRC_URI += " \
+	file://run-ptest \
+"
 
 # psutil/jinja2/packaging are oe-core; fastapi/uvicorn/defusedxml are
 # meta-python. 
@@ -26,5 +30,9 @@ RDEPENDS:${PN} += " \
     python3-xml \
 "
 
+RDEPENDS:${PN}-ptest += " \
+    python3-requests \
+"
+
 # Optional fast-JSON accelerator glances uses if present.
 RRECOMMENDS:${PN} += "python3-orjson"
