python3-pika: Enable tests

Inherit ptest-python-pytest and include tests for Pika. Run the
tests that don't require the docker container with RabbitMQ. The
PyPI package omits some files for testing like tests/__init__.py
use the GitHub source for SRC_URI instead.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-08-04 18:12:31 +03:00
committed by Khem Raj
parent 356b5ef588
commit 0135c3278f
2 changed files with 26 additions and 6 deletions
@@ -0,0 +1,3 @@
#!/bin/sh
pytest --automake tests/unit/ tests/misc/ tests/stubs/