diff mbox series

[meta-python,6/9] python3-a2wsgi: Fix ptest run

Message ID 20240925062422.3146738-6-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/9] python3-pydbus: Add missing rdep on xml module for ptests | expand

Commit Message

Khem Raj Sept. 25, 2024, 6:24 a.m. UTC
Add missing dependencies and ignore baize tests the module is not
available in OE ecosystem

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest | 2 +-
 meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
index 8d2017d39c..951c73a6cf 100644
--- a/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-a2wsgi/run-ptest
@@ -1,3 +1,3 @@ 
 #!/bin/sh
 
-pytest --automake
+pytest --automake --deselect tests/test_asgi.py::test_baize_stream_response
diff --git a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
index e65519ec31..023f227909 100644
--- a/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
+++ b/meta-python/recipes-devtools/python/python3-a2wsgi_1.10.7.bb
@@ -20,6 +20,7 @@  RDEPENDS:${PN}-ptest += " \
         python3-httpx \
         python3-pytest \
         python3-pytest-asyncio \
+        python3-starlette \
         python3-unittest-automake-output \
 "